Fix #31366: check to enable opengl quadbuffer stereo was wrong, causing it to

not work and making other stereo modes not work when the graphics card did not
support quadbuffer stereo.
This commit is contained in:
2012-05-09 11:11:35 +00:00
parent 385e5eb92e
commit e45530ef8f

View File

@@ -848,7 +848,7 @@ int main(int argc, char** argv)
{
if (scene->gm.stereoflag == STEREO_ENABLED) {
stereomode = (RAS_IRasterizer::StereoMode) scene->gm.stereomode;
if (stereomode != RAS_IRasterizer::RAS_STEREO_QUADBUFFERED)
if (stereomode == RAS_IRasterizer::RAS_STEREO_QUADBUFFERED)
stereoWindow = true;
}
}