-rw-r--r-- | src/controller/actions/zoom.c | 2 | ||||
-rw-r--r-- | src/controller/callbacks/keyboard.c | 6 | ||||
-rw-r--r-- | src/controller/callbacks/reshape.c | 3 | ||||
-rw-r--r-- | src/model/geometry/density_legend_geometry.c | 5 | ||||
-rw-r--r-- | src/model/state/state.h | 9 |
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; |