Fix build w/o S3D and video recording. untested. 0.9.21
authornemo
Thu, 09 Jul 2015 13:27:56 -0400
branch0.9.21
changeset 10775 a0b9b678b46e
parent 10773 c91811e09361
child 11345 0785ad226574
Fix build w/o S3D and video recording. untested.
hedgewars/uRender.pas
--- a/hedgewars/uRender.pas	Thu Jun 04 19:57:04 2015 +0300
+++ b/hedgewars/uRender.pas	Thu Jul 09 13:27:56 2015 -0400
@@ -78,8 +78,10 @@
 
 // TODO everything below this should not need a public interface
 
+{$IFDEF USE_S3D_RENDERING OR USE_VIDEO_RECORDING}
 procedure CreateFramebuffer(var frame, depth, tex: GLuint);
 procedure DeleteFramebuffer(var frame, depth, tex: GLuint);
+{$ENDIF}
 
 procedure EnableTexture(enable:Boolean);