mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Wayland: Stop manually tracking interface versions
This is already tracked by the proxies we care about.
This commit is contained in:
+4
-1
@@ -342,8 +342,11 @@ static void resizeWindow(_GLFWwindow* window)
|
||||
|
||||
void _glfwUpdateContentScaleWayland(_GLFWwindow* window)
|
||||
{
|
||||
if (_glfw.wl.compositorVersion < WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION)
|
||||
if (wl_compositor_get_version(_glfw.wl.compositor) <
|
||||
WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the scale factor from the highest scale monitor.
|
||||
int maxScale = 1;
|
||||
|
||||
Reference in New Issue
Block a user