aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/gles/setup_egl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/gles/setup_egl.cpp')
-rw-r--r--test_conformance/gles/setup_egl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test_conformance/gles/setup_egl.cpp b/test_conformance/gles/setup_egl.cpp
index fe0f8ca3..95a12a66 100644
--- a/test_conformance/gles/setup_egl.cpp
+++ b/test_conformance/gles/setup_egl.cpp
@@ -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,