Commit 661f4f96 authored by Martin Schultz's avatar Martin Schultz
Browse files

fixed the screenquad in coreprofile mode by using GL_FRONT_AND_BACK

as it is a screenquad it should make no difference for compatibility
profiles so no check for opengl version here
parent 5576f538
......@@ -183,7 +183,7 @@ void ScreenQuad::intDraw (GLSL::Program* _prog, int _numInstances)
else
decl_->activateFixedFunction();
glPolygonMode(GL_FRONT, GL_FILL);
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
if (_numInstances < 1)
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment