Fixed an exception raised when trying to share GL buffers to CL
Fixed an exception raised when trying to share GL buffers to CL

vbud/adventures_in_opencl,vbud/adventures_in_opencl,honsys/adventures_in_opencl,honsys/adventures_in_opencl,enjalot/adventures_in_opencl,linan7788626/adventures_in_opencl,vbud/adventures_in_opencl,linan7788626/adventures_in_opencl,honsys/adventures_in_opencl,linan7788626/adventures_in_opencl,enjalot/adventures_in_opencl,enjalot/adventures_in_opencl