Browse Source

* fixed definition of GLHandleARB for Darwin (patch by lks, mantis #23975)

git-svn-id: trunk@23772 -
Jonas Maebe 12 years ago
parent
commit
51cdef698f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/opengl/src/glext.pp

+ 4 - 0
packages/opengl/src/glext.pp

@@ -54,7 +54,11 @@ type
   PGLcharARB = ^GLcharARB;
   PPGLchar = ^PGLchar;
 
+  {$ifdef DARWIN}
+  GLHandleARB = Pointer;              // defined as void * in OpenGL.framework/glext.h
+  {$else}
   GLhandleARB = Cardinal;
+  {$endif}
   TGLhandleARB = GLhandleARB;
   PGLhandleARB = ^GLhandleARB;