hedgewars/options.inc
branchwebgl
changeset 8026 4a4f21070479
parent 7837 3e031b3b33e6
child 8330 aaefa587e277
--- a/hedgewars/options.inc	Sun Nov 11 16:53:16 2012 +0100
+++ b/hedgewars/options.inc	Sun Nov 11 17:15:19 2012 +0100
@@ -29,6 +29,13 @@
 
 {$DEFINE USE_LUA_SCRIPT}
 
+{$IF DEFINED(WEBGL) AND NOT DEFINED(PAS2C)}
+{$UNDEF WEBGL}
+{$ENDIF}
+
+{$IFDEF WEBGL}
+{$DEFINE GL2}
+{$ENDIF}
 
 {$IFDEF ANDROID}
     {$DEFINE MOBILE}