Explorar o código

* Changed notice about wglGetProcAddress

sg %!s(int64=23) %!d(string=hai) anos
pai
achega
b2b9e77321
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/extra/opengl/glext.pp

+ 2 - 1
packages/extra/opengl/glext.pp

@@ -36,7 +36,8 @@ uses
   GL;
 
 {$IFDEF Win32}
-// Not declared in Windows.pas.
+{ Declared in Windows unit as well in FPC; but declared here as well, to be
+  fully compatible to upstream version  - sg }
 function wglGetProcAddress(proc: PChar): Pointer; extdecl; external 'OpenGL32.dll';
 {$ELSE}
 function wglGetProcAddress(proc: PChar): Pointer;