summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-10-19 01:59:51 +0200
committerAraq <rumpf_a@web.de>2012-10-19 01:59:51 +0200
commite6b52fe219f42d0483f467c3ad12b86949fe8eba (patch)
tree3557225c527837e436b657c155f85c9b00d2f428 /lib
parent3f82352c2e53247650a66bff52f552517cff8121 (diff)
parent2efdf3df81fc1a451f4444e822a870c59e27e586 (diff)
downloadNim-e6b52fe219f42d0483f467c3ad12b86949fe8eba.tar.gz
Merge branch 'master' of github.com:Araq/Nimrod
Diffstat (limited to 'lib')
-rw-r--r--lib/wrappers/opengl/opengl.nim16
1 files changed, 8 insertions, 8 deletions
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