# HG changeset patch # User antonc27 # Date 1439067302 -7200 # Node ID 1742f5b020f349cd451ac0bbb48c1bcd343cd2e0 # Parent 59fdc1ea1a4dbcc4ce5dd0243eb685c53e05255c - 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 ]:-> diff -r 59fdc1ea1a4d -r 1742f5b020f3 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 ///////