fix api
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user