rename window system and context choice variables
[gltest.git] / glutil_gl2.cpp
index c14b3a5d89f4823ab11b98900f3c96075e61673c..ad89138d14f3748e90a52fd8919c3a4372b9794f 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
+
 #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\