From 197ee778c8975a9754de5538463dac4de5b379af Mon Sep 17 00:00:00 2001 From: Billingsly Wetherfordshire Date: Sun, 14 Oct 2012 06:43:02 -0500 Subject: make glU* types unsigned, *int types are in32 --- lib/wrappers/opengl/opengl.nim | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/wrappers/opengl/opengl.nim') diff --git a/lib/wrappers/opengl/opengl.nim b/lib/wrappers/opengl/opengl.nim index a61159016..771a2ac96 100644 --- a/lib/wrappers/opengl/opengl.nim +++ b/lib/wrappers/opengl/opengl.nim @@ -470,23 +470,23 @@ else: type PPointer* = ptr Pointer - GLenum* = int + GLenum* = uint32 GLboolean* = bool - GLbitfield* = int + GLbitfield* = uint32 GLbyte* = int8 GLshort* = int16 - GLint* = int - GLsizei* = int - GLubyte* = int8 - GLushort* = int16 - GLuint* = int + GLint* = int32 + GLsizei* = int32 + GLubyte* = uint8 + GLushort* = uint16 + GLuint* = uint32 GLfloat* = float32 GLclampf* = float32 GLdouble* = float64 GLclampd* = float64 GLvoid* = Pointer GLint64* = Int64 - GLuint64* = Int64 + GLuint64* = uint64 TGLenum* = GLenum TGLboolean* = GLboolean TGLbitfield* = GLbitfield -- cgit 1.4.1-2-gfad0