summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-07-08 13:11:44 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-07-08 13:11:44 +0100
commit9ff559b73d8572d685bef95c641a38d073937ecc (patch)
treee1c129a4861975ab6eb01f4d793ab093e0e06ffc
parent3f9ed37d21039cbbac8580d6f5be950c6563aa15 (diff)
egl-gl-colorspace: Use EGL_GL_COLORSPACE_*_KHR enums.
To fix build on systems with older EGL headers. Trivial.
-rw-r--r--tests/egl/egl-gl-colorspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/egl/egl-gl-colorspace.c b/tests/egl/egl-gl-colorspace.c
index b00233dd0..5fdb508ab 100644
--- a/tests/egl/egl-gl-colorspace.c
+++ b/tests/egl/egl-gl-colorspace.c
@@ -80,11 +80,11 @@ main(int argc, char *argv[])
struct egl_test test;
const char *extensions[] = {"EGL_KHR_gl_colorspace", NULL};
const EGLint surface_linear[] = {
- EGL_GL_COLORSPACE, EGL_GL_COLORSPACE_LINEAR,
+ EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_LINEAR_KHR,
EGL_NONE
};
const EGLint surface_srgb[] = {
- EGL_GL_COLORSPACE, EGL_GL_COLORSPACE_SRGB,
+ EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR,
EGL_NONE
};
const EGLint test_attribs[] = {