X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/06ad8dcac2fac86d1f6715a51b50356a68ffe362..b4dc0596570275aa9def5ff63af951beb8473d58:/glutil_gl2.cpp diff --git a/glutil_gl2.cpp b/glutil_gl2.cpp index ebcb5b0..ad89138 100644 --- a/glutil_gl2.cpp +++ b/glutil_gl2.cpp @@ -21,6 +21,10 @@ #include "glutil.h" +#if defined(CON_GL1) +#error "GL1 contexts do not support GL2 functionality" +#endif + // shaders static const char *vertex_shader_source = "#version 100 \n\