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;
       }
     }