--- 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);