summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glview.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glview.cc b/src/glview.cc
index 65432c8..3d26fa5 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -377,8 +377,8 @@ void GLView::paintGL()
{
glEnable(GL_LIGHTING);
- if (orthomode)
- setupOrtho(viewer_distance);
+ if (orthomode) setupOrtho(viewer_distance);
+ else setupPerspective();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
contact: Jan Huwald // Impressum