Commit 3ba8782c authored by Christopher Tenter's avatar Christopher Tenter
Browse files

fix depth-range initialization of render objects

parent a171e118
Pipeline #194 passed with stage
......@@ -103,9 +103,7 @@ void RenderObject::initFromState( GLState* _glState )
_glState->getBlendFunc(&blendSrc, &blendDest);
GLclampd zn, zf;
_glState->getDepthRange(&zn, &zf);
depthRange = Vec2f(zn, zf);
glGetFloatv(GL_DEPTH_RANGE, depthRange.data());
depthFunc = _glState->depthFunc();
......
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