Ver Fonte

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

git-svn-id: trunk@23772 -
Jonas Maebe há 12 anos atrás
pai
commit
51cdef698f
1 ficheiros alterados com 4 adições e 0 exclusões
  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;