Commit eef761dc authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

ACG/GLState.cc: critical bugfix: update_matrices() is now also called in pop_projection_matrix()

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5730 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a389db28
......@@ -539,7 +539,6 @@ void GLState::update_matrices()
backward_projection_ = inverse_modelview_;
backward_projection_ *= inverse_projection_;
backward_projection_ *= inverse_window2viewport_;
}
......@@ -784,6 +783,8 @@ void GLState::pop_projection_matrix()
stack_projection_.pop();
stack_inverse_projection_.pop();
update_matrices();
if (updateGL_)
{
makeCurrent();
......
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