commit | 302037d5b40a2b486acde7643f18d6dffdbadefa | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Tue Jul 31 23:52:23 2012 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Tue Jul 31 23:52:23 2012 +0200 |
tree | 3307b8415756df9bbbf2d17fda20f4986f8a1979 | |
parent | b00064902daa9a324a2cd66ff8925b2d36ca019a [diff] [blame] |
Added stub debug context detection.
diff --git a/src/opengl.c b/src/opengl.c index 67b5e72..64e12e9 100644 --- a/src/opengl.c +++ b/src/opengl.c
@@ -366,6 +366,8 @@ if (flags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT) window->glForward = GL_TRUE; + if (flags & 0) + window->glDebug = GL_TRUE; } }