X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/dac0dad539be501c94cb8646d979e6e7787e1992..b0ce9e768aed86e894dcffae75e69a80c51e7b5d:/glutil_gl1.cpp?ds=sidebyside diff --git a/glutil_gl1.cpp b/glutil_gl1.cpp index 1cedfac..0fb04e2 100644 --- a/glutil_gl1.cpp +++ b/glutil_gl1.cpp @@ -18,8 +18,8 @@ #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)