diff pytouhou/lib/opengl.pxd @ 518:75ae628522c9

Use shorts instead of ints for vertex position, reducing the size of a vertex to 20 bytes from 24.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 07 Dec 2013 14:15:43 +0100
parents 2276229282fd
children b18f0bd30ad0
line wrap: on
line diff
--- a/pytouhou/lib/opengl.pxd
+++ b/pytouhou/lib/opengl.pxd
@@ -36,7 +36,7 @@ cdef extern from 'GL/gl.h' nogil:
         GL_DYNAMIC_DRAW
         GL_UNSIGNED_BYTE
         GL_UNSIGNED_SHORT
-        GL_INT
+        GL_SHORT
         GL_FLOAT
         GL_SRC_ALPHA
         GL_ONE_MINUS_SRC_ALPHA