hedgewars/uConsts.pas
changeset 6891 ab9843957664
parent 6797 6ffdd276f64e
child 6917 4889c2b779b4
--- a/hedgewars/uConsts.pas	Sat Apr 14 23:50:14 2012 +0400
+++ b/hedgewars/uConsts.pas	Sun Apr 15 00:47:22 2012 +0400
@@ -103,11 +103,13 @@
     MAXNAMELEN = 192;
     MAXROPEPOINTS = 3840;
 
+    {$IFNDEF PAS2C}
     // some opengl headers do not have these macros
     GL_BGR              = $80E0;
     GL_BGRA             = $80E1;
     GL_CLAMP_TO_EDGE    = $812F;
     GL_TEXTURE_PRIORITY = $8066;
+    {$ENDIF}
 
     cSendCursorPosTime  : LongWord = 50;
     cVisibleWater       : LongInt = 128;