summaryrefslogtreecommitdiff
path: root/utests/compiler_fill_gl_image.cpp
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-06-13 17:44:00 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-06-13 17:49:36 +0800
commitbd72dbae9295285d8e325c48772c5a36a651906b (patch)
treec133dba800a64e7e706ed0119460c3cad2715fa7 /utests/compiler_fill_gl_image.cpp
parent9d112b8b04426d9b9ab9fda867d49550f47dca1a (diff)
downloadbeignet-bd72dbae9295285d8e325c48772c5a36a651906b.tar.gz
utests: use OpenCL 1.2 API for image related test cases.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Diffstat (limited to 'utests/compiler_fill_gl_image.cpp')
-rw-r--r--utests/compiler_fill_gl_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/compiler_fill_gl_image.cpp b/utests/compiler_fill_gl_image.cpp
index 437fcf4d..87d2fcd6 100644
--- a/utests/compiler_fill_gl_image.cpp
+++ b/utests/compiler_fill_gl_image.cpp
@@ -46,7 +46,7 @@ static void compiler_fill_gl_image(void)
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, NULL);
OCL_CREATE_KERNEL("test_fill_gl_image");
- OCL_CREATE_GL_IMAGE2D(buf[0], 0, GL_TEXTURE_2D, 0, tex);
+ OCL_CREATE_GL_IMAGE(buf[0], 0, GL_TEXTURE_2D, 0, tex);
// Run the kernel
OCL_SET_ARG(0, sizeof(cl_mem), &buf[0]);