Skip to content
Snippets Groups Projects
Commit 6c421f13 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Camilla Löwy
Browse files

Wayland: Implement scale callback

Closes #1181.
parent 93186e49
Branches
No related tags found
No related merge requests found
......@@ -125,6 +125,7 @@ static void checkScaleChange(_GLFWwindow* window)
wl_surface_set_buffer_scale(window->wl.surface, scale);
wl_egl_window_resize(window->wl.native, scaledWidth, scaledHeight, 0, 0);
_glfwInputFramebufferSize(window, scaledWidth, scaledHeight);
_glfwInputWindowContentScale(window, scale, scale);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment