clover: clarify and fix the EGL interop error case

Cc: 10.6 <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Marek Olšák
2015-05-12 22:53:00 +02:00
parent a1cb407b04
commit 6acb61fc9c
@@ -31,7 +31,12 @@ extern "C" {
PUBLIC bool
opencl_dri_event_add_ref(cl_event event)
{
return clRetainEvent(event) == CL_SUCCESS;
/* This should fail if the event hasn't been created by
* clEnqueueReleaseGLObjects or clEnqueueReleaseEGLObjects.
*
* TODO: implement the CL functions
*/
return false; /*return clRetainEvent(event) == CL_SUCCESS;*/
}
PUBLIC bool