summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/controller/actions/zoom.c2
-rw-r--r--src/controller/callbacks/keyboard.c6
-rw-r--r--src/controller/callbacks/reshape.c3
-rw-r--r--src/model/geometry/density_legend_geometry.c5
-rw-r--r--src/model/state/state.h9
5 files changed, 10 insertions, 15 deletions
diff --git a/src/controller/callbacks/reshape.c b/src/controller/callbacks/reshape.c
index 95e9329..2455ea3 100644
--- a/src/controller/callbacks/reshape.c
+++ b/src/controller/callbacks/reshape.c
@@ -41,9 +41,6 @@ reshape (int w, int h)
// Set the viewport equal to the size of the window.
glViewport (0, 0, (GLsizei) w, (GLsizei) h);
- S.viewport.w = w;
- S.viewport.h = h;
-
density_legend_geometry ();
return;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.