mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 21:37:27 +00:00
Fix use of undeclared constant
This commit is contained in:
parent
511183e76c
commit
c56af32bb7
@ -80,8 +80,7 @@ static void checkScaleChange(_GLFWwindow* window)
|
|||||||
int monitorScale;
|
int monitorScale;
|
||||||
|
|
||||||
// Check if we will be able to set the buffer scale or not.
|
// Check if we will be able to set the buffer scale or not.
|
||||||
if (_glfw.wl.wl_compositor_version <
|
if (_glfw.wl.wl_compositor_version < 3)
|
||||||
WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Get the scale factor from the highest scale monitor.
|
// Get the scale factor from the highest scale monitor.
|
||||||
|
Loading…
Reference in New Issue
Block a user