Mercurial > touhou
diff pytouhou/ui/opengl/shader.pxd @ 523:6e3b3d5d4691
Make matrix a struct.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 18 Dec 2013 17:53:29 +0100 |
parents | 5e3e0b09a531 |
children | 538b52aafbca |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/shader.pxd +++ b/pytouhou/ui/opengl/shader.pxd @@ -12,4 +12,4 @@ cdef class Shader: cdef void bind(self) nogil cdef void uniform_1(self, name, GLfloat val) except * cdef void uniform_4(self, name, GLfloat a, GLfloat b, GLfloat c, GLfloat d) except * - cdef void uniform_matrix(self, name, Matrix mat) except * + cdef void uniform_matrix(self, name, Matrix *mat) except *