- Fix for "Exception: Could not load OpenGL from /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib" at start of app ios-revival
authorantonc27 <antonc27@mail.ru>
Sat, 08 Aug 2015 22:55:02 +0200
branchios-revival
changeset 11096 1742f5b020f3
parent 11095 59fdc1ea1a4d
child 11097 fd536d99a760
- Fix for "Exception: Could not load OpenGL from /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib" at start of app P.S. This error also a lovely one ]:->
hedgewars/uVariables.pas
--- a/hedgewars/uVariables.pas	Sat Aug 08 22:52:24 2015 +0200
+++ b/hedgewars/uVariables.pas	Sat Aug 08 22:55:02 2015 +0200
@@ -21,7 +21,7 @@
 unit uVariables;
 interface
 
-uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uUtils, uMatrix;
+uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uUtils{$IFDEF GL2}, uMatrix{$ENDIF};
 
 var
 /////// init flags ///////