hedgewars/uWorld.pas
changeset 7297 af64b509725c
parent 7291 ad4b6c2b09e8
child 7301 bea42438a2ec
--- a/hedgewars/uWorld.pas	Mon Jun 25 12:02:54 2012 +0200
+++ b/hedgewars/uWorld.pas	Mon Jun 25 15:46:08 2012 +0200
@@ -60,7 +60,8 @@
     uCaptions,
     uCursor,
     uCommands,
-    uMobile
+    uMobile,
+    uAtlas
     ;
 
 var cWaveWidth, cWaveHeight: LongInt;
@@ -956,7 +957,7 @@
         begin
         glClear(GL_COLOR_BUFFER_BIT);
         DrawWorldStereo(Lag, rmDefault)
-        end
+        end;
 {$IFNDEF S3D_DISABLED}
     else if (cStereoMode = smAFR) then
         begin
@@ -1064,8 +1065,9 @@
         else
             glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_TRUE);
         DrawWorldStereo(Lag, rmRightEye);
-        end
+        end;
 {$ENDIF}
+    DebugAtlas;
 end;
 
 procedure ChangeDepth(rm: TRenderMode; d: GLfloat);