fix build
[gltest.git] / glutil_gl1.cpp
index 1cedfac8e81348d6a7740f4e9487f097087b6f03..0fb04e21a9d2dd7978500e1690c4bccd7d3a8b7f 100644 (file)
@@ -18,8 +18,8 @@
 
 #include "glutil.h"
 
 
 #include "glutil.h"
 
-#if defined(CON_GLES2)
-#error "GLES2 contexts do not support GL1 functionality"
+#if !defined(CON_GL1)
+#error "Only GL1 contexts support GL1 functionality"
 #endif
 
 void resolveFunctionPointers(T_glGetProcAddress)
 #endif
 
 void resolveFunctionPointers(T_glGetProcAddress)