OpenGL: stipple support added to basic GLSL shader
[blender.git] / source / gameengine / Rasterizer / RAS_OpenGLRasterizer / RAS_OpenGLRasterizer.cpp
index 84dbfff74b00c0cb1bb4c877d0fd9be0f00aa19f..400fa6af22e7870fe7db42b1dee6dd52786893eb 100644 (file)
@@ -553,6 +553,8 @@ void RAS_OpenGLRasterizer::SetEye(const StereoEye eye)
                        break;
                case RAS_STEREO_VINTERLACE:
                {
+                       // OpenGL stippling is deprecated, it is no longer possible to affect all shaders
+                       // this way, offscreen rendering and then compositing may be the better solution
                        glEnable(GL_POLYGON_STIPPLE);
                        glPolygonStipple((const GLubyte*) ((m_curreye == RAS_STEREO_LEFTEYE) ? left_eye_vinterlace_mask : right_eye_vinterlace_mask));
                        if (m_curreye == RAS_STEREO_RIGHTEYE)