From 2e86f2582f3724d9b7b93ae9f3a9ee267b78e4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 14 Apr 2014 18:58:33 -0400 Subject: [PATCH] fix api --- common/map_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/map_view.cpp b/common/map_view.cpp index 162060950..8957c2f43 100644 --- a/common/map_view.cpp +++ b/common/map_view.cpp @@ -127,7 +127,7 @@ public: int fb_width, fb_height; glfwGetFramebufferSize(window, &fb_width, &fb_height); - mapView->map.resize(width, height, fb_width, fb_height); + mapView->map.resize(width, height, (float)fb_width / (float)width, fb_width, fb_height); } static void mouseclick(GLFWwindow *window, int button, int action, int modifiers) {