Commit 4bd8a851 authored by Marlin Frickenschmidt's avatar Marlin Frickenschmidt
Browse files

Changed BSplineSurfaceNodeT to use new GLState getter/setter for depth comparison function

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10106 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2149201e
...@@ -111,8 +111,7 @@ void ...@@ -111,8 +111,7 @@ void
BSplineSurfaceNodeT<BSplineSurface>:: BSplineSurfaceNodeT<BSplineSurface>::
draw(GLState& _state, DrawModes::DrawMode _drawMode) draw(GLState& _state, DrawModes::DrawMode _drawMode)
{ {
GLint prev_depth; GLenum prev_depth = _state.depthFunc();
glGetIntegerv (GL_DEPTH_FUNC, &prev_depth);
glPushAttrib(GL_ENABLE_BIT); glPushAttrib(GL_ENABLE_BIT);
......
Supports Markdown
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