make sure we trigger an update after resizing

This commit is contained in:
Konstantin Käfer
2014-04-15 10:44:11 -04:00
parent c2f1f0c0df
commit ab66ab39e6
2 changed files with 2 additions and 1 deletions

View File

@@ -128,6 +128,7 @@ public:
glfwGetFramebufferSize(window, &fb_width, &fb_height);
mapView->map.resize(width, height, (float)fb_width / (float)width, fb_width, fb_height);
mapView->map.update();
}
static void mouseclick(GLFWwindow *window, int button, int action, int modifiers) {