diff options
Diffstat (limited to 'src/cl_mem_gl.c')
-rw-r--r-- | src/cl_mem_gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl_mem_gl.c b/src/cl_mem_gl.c index 28d2ac65..36409089 100644 --- a/src/cl_mem_gl.c +++ b/src/cl_mem_gl.c @@ -63,7 +63,7 @@ cl_mem_new_gl_texture(cl_context ctx, goto error; } - mem = cl_mem_allocate(CL_MEM_GL_IMAGE_TYPE, ctx, flags, 0, 0, &err); + mem = cl_mem_allocate(CL_MEM_GL_IMAGE_TYPE, ctx, flags, 0, 0, NULL, &err); if (mem == NULL || err != CL_SUCCESS) goto error; |