diff pytouhou/lib/opengl.pxd @ 583:47cf4e3d159d

Use libepoxy to discover the actual GL version we are using, and available extensions.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 05 Oct 2014 20:38:06 +0200
parents b8df946d394d
children 538b52aafbca
line wrap: on
line diff
--- a/pytouhou/lib/opengl.pxd
+++ b/pytouhou/lib/opengl.pxd
@@ -169,3 +169,9 @@ cdef extern from 'epoxy/gl.h' nogil:
 
     void glPushDebugGroup(GLenum source, GLuint id_, GLsizei length, const char *message)
     void glPopDebugGroup()
+
+    # Non-OpenGL libepoxy functions.
+
+    int epoxy_gl_version()
+    bint epoxy_has_gl_extension(const char *extension)
+    bint epoxy_is_desktop_gl()