BGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto (kanttori)

Later I will try to find when this bug was introduced. But it's definitively broken in trunk.
This commit is contained in:
Dalai Felinto
2013-06-22 08:04:02 +00:00
parent 92aca19eda
commit c72653cca0

View File

@@ -575,11 +575,11 @@ void RAS_OpenGLRasterizer::SetEye(const StereoEye eye)
break;
case RAS_STEREO_ANAGLYPH:
if (m_curreye == RAS_STEREO_LEFTEYE) {
glColorMask(GL_FALSE, GL_TRUE, GL_TRUE, GL_FALSE);
glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE);
}
else {
//glAccum(GL_LOAD, 1.0);
glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_FALSE);
glColorMask(GL_FALSE, GL_TRUE, GL_TRUE, GL_FALSE);
ClearDepthBuffer();
}
break;