Fix build w/o S3D and video recording. untested.
--- a/hedgewars/uRender.pas Tue Jul 07 19:19:43 2015 -0400
+++ b/hedgewars/uRender.pas Thu Jul 09 13:27:56 2015 -0400
@@ -60,7 +60,9 @@
procedure DrawWaves (Dir, dX, dY, oX: LongInt; tnt: Byte);
procedure RenderClear ();
+{$IFDEF USE_S3D_RENDERING}
procedure RenderClear (mode: TRenderMode);
+{$ENDIF}
procedure RenderSetClearColor (r, g, b, a: real);
procedure Tint (r, g, b, a: Byte); inline;
procedure Tint (c: Longword); inline;
@@ -136,8 +138,10 @@
procedure openglRotatef (RotX, RotY, RotZ: GLfloat; dir: LongInt); forward;
procedure openglTint (r, g, b, a: Byte); forward;
+{$IFDEF USE_S3D_RENDERING OR USE_VIDEO_RECORDING}
procedure CreateFramebuffer(var frame, depth, tex: GLuint); forward;
procedure DeleteFramebuffer(var frame, depth, tex: GLuint); forward;
+{$ENDIF}
function isAreaOffscreen(X, Y, Width, Height: LongInt): boolean; inline;
begin
--- a/hedgewars/uWorld.pas Tue Jul 07 19:19:43 2015 -0400
+++ b/hedgewars/uWorld.pas Thu Jul 09 13:27:56 2015 -0400
@@ -862,8 +862,8 @@
begin
RenderClear();
DrawWorldStereo(Lag, rmDefault)
+{$IFDEF USE_S3D_RENDERING}
end
-{$IFDEF USE_S3D_RENDERING}
else
begin
// draw frame for left eye
@@ -873,8 +873,8 @@
// draw frame for right eye
RenderClear(rmRightEye);
DrawWorldStereo(0, rmRightEye);
+{$ENDIF}
end;
-{$ENDIF}
FinishRender();
end;