From dcabcaa5b6a5b0deb180ac9eaa067ac62f1b2cc6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 13 Sep 2016 22:10:07 +0300 Subject: [PATCH] Fixed compilation on non-Windows platforms --- src/gl/system/gl_framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/system/gl_framebuffer.cpp b/src/gl/system/gl_framebuffer.cpp index ed0d07bd56..d99566a5a3 100644 --- a/src/gl/system/gl_framebuffer.cpp +++ b/src/gl/system/gl_framebuffer.cpp @@ -197,7 +197,7 @@ void OpenGLFrameBuffer::Update() Unlock(); CheckBench(); - if (Windowed) + if (!IsFullscreen()) { int clientWidth = GetClientWidth(); int clientHeight = GetClientHeight();