summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/egl/spec/egl_khr_create_context/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/egl/spec/egl_khr_create_context/common.h b/tests/egl/spec/egl_khr_create_context/common.h
index 56cc80f8..7aabe7b2 100644
--- a/tests/egl/spec/egl_khr_create_context/common.h
+++ b/tests/egl/spec/egl_khr_create_context/common.h
@@ -46,7 +46,7 @@
* the EGL_OPENGL_ES3_BIT_KHR, because the bit was not defined until version
* 13 of the extension.
*/
-#ifdef EGL_OPENGL_ES3_BIT_KHR
+#ifndef EGL_OPENGL_ES3_BIT_KHR
#define EGL_OPENGL_ES3_BIT_KHR 0x00000040
#endif