clover: clarify and fix the EGL interop error case
Cc: 10.6 <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user