X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/520f5e8cbcbbe69da6fa878fac2200f7bf302d68..ce1b46da645fdcac80fc9c71082bb5cb40166576:/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)