X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/8dd990b1ed5cb3a4b78dfdf48b1f39d3f8bb0f0f..b4dc0596570275aa9def5ff63af951beb8473d58:/glutil_gl2.cpp diff --git a/glutil_gl2.cpp b/glutil_gl2.cpp index c14b3a5..ad89138 100644 --- a/glutil_gl2.cpp +++ b/glutil_gl2.cpp @@ -18,8 +18,13 @@ #include #include + #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\