Created
August 28, 2014 22:51
-
-
Save sapier/c685006eb8a3864709a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/drawscene.cpp b/src/drawscene.cpp | |
index 9672aff..5d214d1 100644 | |
--- a/src/drawscene.cpp | |
+++ b/src/drawscene.cpp | |
@@ -275,7 +275,11 @@ void draw_interlaced_3d_mode(Camera& camera, bool show_hud, | |
guienv->drawAll(); | |
for (unsigned int i = 0; i < screensize.Y; i+=2 ) { | |
+#if (IRRLICHT_VERSION_MAJOR >= 1) && (IRRLICHT_VERSION_MINOR >= 8) | |
+ driver->draw2DImage(left_image, irr::core::position2d<s32>(0, i), | |
+#else | |
driver->draw2DImage(left_image, irr::core::position2d<s32>(0, screensize.Y-i), | |
+#endif | |
irr::core::rect<s32>(0, i,screensize.X, i+1), 0, | |
irr::video::SColor(255, 255, 255, 255), | |
false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment