From c56af32bb78a851b8062e9fbc9d45bb9cadb0481 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 18 Feb 2016 14:20:36 +0100 Subject: [PATCH] Fix use of undeclared constant --- src/wl_window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index 75aa912e..ea301434 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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.