comparison 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
comparison
equal deleted inserted replaced
517:dec43940f092 518:75ae628522c9
34 GL_ARRAY_BUFFER 34 GL_ARRAY_BUFFER
35 GL_STATIC_DRAW 35 GL_STATIC_DRAW
36 GL_DYNAMIC_DRAW 36 GL_DYNAMIC_DRAW
37 GL_UNSIGNED_BYTE 37 GL_UNSIGNED_BYTE
38 GL_UNSIGNED_SHORT 38 GL_UNSIGNED_SHORT
39 GL_INT 39 GL_SHORT
40 GL_FLOAT 40 GL_FLOAT
41 GL_SRC_ALPHA 41 GL_SRC_ALPHA
42 GL_ONE_MINUS_SRC_ALPHA 42 GL_ONE_MINUS_SRC_ALPHA
43 GL_ONE 43 GL_ONE
44 GL_ZERO 44 GL_ZERO