Commit 7830c2e8 authored by Martin Schultz's avatar Martin Schultz

Merge branch 'fixScreenQuadInCoreProfile' into 'featureCoreProfile'

fixed the screenquad in coreprofile mode by using GL_FRONT_AND_BACK

See merge request !43
parents 5576f538 661f4f96
......@@ -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