projects
/
gltest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename window system and context choice variables
[gltest.git]
/
glutil_gl2.cpp
diff --git
a/glutil_gl2.cpp
b/glutil_gl2.cpp
index ebcb5b0c8c4f108a88301074e4531df5a3b50988..ad89138d14f3748e90a52fd8919c3a4372b9794f 100644
(file)
--- 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\