summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
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