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]
/
glxbackend.cpp
diff --git
a/glxbackend.cpp
b/glxbackend.cpp
index a957e5bfeb8963618ba87f00a34394c7b0dd9c95..97e6937c4ed76e260fe7b67faf53b9c17751832f 100644
(file)
--- a/
glxbackend.cpp
+++ b/
glxbackend.cpp
@@
-24,6
+24,10
@@
#include <GL/glxext.h>
#include <string>
+#if !defined(CON_GL1)
+#error "Valid GL contexts for GLX are: GL1"
+#endif
+
// attributes for a double buffered visual in RGBA format with at least 4 bits per color
static int attrList[] =
{