also fix top/bottom and side-by-side rendering (got also broken in webgl branch)
authorsheepluva
Thu, 02 Oct 2014 13:18:58 +0200
changeset 10427 dd44d2c8fd0e
parent 10425 9bf21d178d13
child 10429 e3cdbba07732
also fix top/bottom and side-by-side rendering (got also broken in webgl branch)
hedgewars/uRender.pas
--- a/hedgewars/uRender.pas	Thu Oct 02 13:01:18 2014 +0200
+++ b/hedgewars/uRender.pas	Thu Oct 02 13:18:58 2014 +0200
@@ -418,8 +418,8 @@
     UpdateModelviewProjection;
 {$ENDIF}
 
-{$IFNDEF USE_S3D_RENDERING}
-    if (cStereoMode = smHorizontal) or (cStereoMode = smVertical) or (cStereoMode = smAFR) then
+{$IFDEF USE_S3D_RENDERING}
+    if (cStereoMode = smHorizontal) or (cStereoMode = smVertical) then
     begin
         // prepare left and right frame buffers and associated textures
         if glLoadExtension('GL_EXT_framebuffer_object') then