diff pytouhou/ui/opengl/backend.pxd @ 556:c34b23e29d16

Make the OpenGL flavor and version options work.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 May 2014 16:40:36 +0200
parents 653a9f087673
children 0f2af7552462
line wrap: on
line diff
--- a/pytouhou/ui/opengl/backend.pxd
+++ b/pytouhou/ui/opengl/backend.pxd
@@ -1,5 +1,7 @@
-cdef str flavor
-cdef float version
+from pytouhou.lib.sdl cimport SDL_GLprofile
+
+cdef SDL_GLprofile flavor
+cdef str version
 cdef int major
 cdef int minor
 cdef int double_buffer