Browse Source

Update zgl_pasOpenGL.pas

Seenkao 2 years ago
parent
commit
625c6dd8fb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Zengl_SRC/srcGL/zgl_pasOpenGL.pas

+ 5 - 0
Zengl_SRC/srcGL/zgl_pasOpenGL.pas

@@ -5730,6 +5730,11 @@ begin
 end;
 
 function LoadOpenGL: Boolean;
+{$IfDef LINUX}
+{$IfDef GL_VERSION_3_0}
+var
+  i, j: Integer;
+{$EndIf}{$EndIf}
 begin
 {  Result := False;
   if gl_Library <> Nil then