Skip to content
Snippets Groups Projects
Commit c56af32b authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Fix use of undeclared constant

parent 511183e7
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,7 @@ static void checkScaleChange(_GLFWwindow* window)
int monitorScale;
// Check if we will be able to set the buffer scale or not.
if (_glfw.wl.wl_compositor_version <
WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION)
if (_glfw.wl.wl_compositor_version < 3)
return;
// Get the scale factor from the highest scale monitor.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment