浏览代码

* Changed notice about wglGetProcAddress

sg 23 年之前
父节点
当前提交
b2b9e77321
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;