X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/dac0dad539be501c94cb8646d979e6e7787e1992..7204186779e096ceab7b39f54dcf6f606062f29b:/glutil_gl1.cpp 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)