-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) | |||
41 | // Set the viewport equal to the size of the window. | 41 | // Set the viewport equal to the size of the window. |
42 | glViewport (0, 0, (GLsizei) w, (GLsizei) h); | 42 | glViewport (0, 0, (GLsizei) w, (GLsizei) h); |
43 | 43 | ||
44 | S.viewport.w = w; | ||
45 | S.viewport.h = h; | ||
46 | |||
47 | density_legend_geometry (); | 44 | density_legend_geometry (); |
48 | 45 | ||
49 | return; | 46 | return; |