hedgewars/uStore.pas
changeset 10276 89056c7254ef
parent 10275 6c91047f59b6
child 10302 ea0b0e2efd95
--- a/hedgewars/uStore.pas	Tue Jun 10 23:21:22 2014 +0200
+++ b/hedgewars/uStore.pas	Wed Jun 11 12:55:24 2014 +0200
@@ -73,6 +73,12 @@
 
 procedure updateViewLimits();
 
+{$IFDEF GL2}
+var
+    shaderMain: GLuint;
+    shaderWater: GLuint;
+{$ENDIF}
+
 implementation
 uses uMisc, uConsole, uVariables, uUtils, uTextures, uRender, uRenderUtils,
      uCommands, uPhysFSLayer, uDebug
@@ -91,13 +97,6 @@
     numsquares : LongInt;
     ProgrTex: PTexture;
 
-{$IFDEF GL2}
-    shaderMain: GLuint;
-    shaderWater: GLuint;
-
-    // attributes
-{$ENDIF}
-
     prevHat: shortstring;
     tmpHatSurf: PSDL_Surface;