Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2013-06-22 12:04:02 +0400
committerDalai Felinto <dfelinto@gmail.com>2013-06-22 12:04:02 +0400
commitc72653cca0278fa472eb26fd413f795c43664a59 (patch)
treecf641fd66daa8570382642e933e520c277c32e56 /source
parent92aca19eda577f90574050c18d7fb1fb8ca9e90b (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
index a8d03f9f337..c24cfdb4ef0 100644
--- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
+++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
@@ -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;