mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
gles: Fix compile warnings. (#1070)
* gles: Fix compile warnings. For 32 and 64-bit Visual Studio and the Android Q NDK. * Fix formatting violations Co-authored-by: spauls <spauls@qti.qualcomm.com>
This commit is contained in:
committed by
GitHub
parent
17a0d09567
commit
6c8045911a
@@ -117,7 +117,8 @@ public:
|
||||
_platform, "clGetGLContextInfoKHR");
|
||||
if (GetGLContextInfo == NULL)
|
||||
{
|
||||
print_error(status, "clGetGLContextInfoKHR failed");
|
||||
log_error("ERROR: clGetGLContextInfoKHR failed! (%s:%d)\n",
|
||||
__FILE__, __LINE__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -128,7 +129,7 @@ public:
|
||||
return NULL;
|
||||
}
|
||||
dev_size /= sizeof(cl_device_id);
|
||||
log_info("GL _context supports %d compute devices\n", dev_size);
|
||||
log_info("GL _context supports %zu compute devices\n", dev_size);
|
||||
|
||||
status =
|
||||
GetGLContextInfo(properties, CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR,
|
||||
|
||||
Reference in New Issue
Block a user