# HG changeset patch
# User sheepluva
# Date 1427212355 -3600
# Node ID 5efea59424750782a3c906e1560554e66a7dcc15
# Parent  f23763bbac1bd3ba6d4625cdb82c419211b39287
rendering tweaks cont.

diff -r f23763bbac1b -r 5efea5942475 hedgewars/uRender.pas
--- a/hedgewars/uRender.pas	Tue Mar 24 12:48:55 2015 +0100
+++ b/hedgewars/uRender.pas	Tue Mar 24 16:52:35 2015 +0100
@@ -83,9 +83,6 @@
 
 // TODO everything below this should not need a public interface
 
-procedure CreateFramebuffer(var frame, depth, tex: GLuint);
-procedure DeleteFramebuffer(var frame, depth, tex: GLuint);
-
 procedure EnableTexture(enable:Boolean);
 
 procedure SetTexCoordPointer(p: Pointer;n: Integer); inline;
@@ -134,6 +131,9 @@
     texLRDtb, texLvb, texRvb: array [0..3] of TVertex2f;
 {$ENDIF}
 
+procedure CreateFramebuffer(var frame, depth, tex: GLuint); forward;
+procedure DeleteFramebuffer(var frame, depth, tex: GLuint); forward;
+
 function isAreaOffscreen(X, Y, Width, Height: LongInt): boolean; inline;
 begin
     isAreaOffscreen:= (isDxAreaOffscreen(X, Width) <> 0) or (isDyAreaOffscreen(Y, Height) <> 0);
diff -r f23763bbac1b -r 5efea5942475 hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Tue Mar 24 12:48:55 2015 +0100
+++ b/hedgewars/uStore.pas	Tue Mar 24 16:52:35 2015 +0100
@@ -1023,7 +1023,7 @@
     glutHideWindow();
     // we do not need to set this callback, but it is required for GLUT3 compat
     glutDisplayFunc(@SwapBuffers);
-    RenderSetup();
+    RendererSetup();
 end;
 {$ENDIF} // SDL2
 {$ENDIF} // USE_VIDEO_RECORDING
diff -r f23763bbac1b -r 5efea5942475 hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Tue Mar 24 12:48:55 2015 +0100
+++ b/hedgewars/uWorld.pas	Tue Mar 24 16:52:35 2015 +0100
@@ -17,7 +17,7 @@
  *)
 
 {$INCLUDE "options.inc"}
-{$IF GLunit = GL}{$DEFINE GLunit:=GL,GLext}{$ENDIF}
+{$IF GLunit = GL}{$DEFINE GLunit:=GL}{$ENDIF}
 
 unit uWorld;
 interface