From f396ba9983d6144934a278af1cf9e62690b24535 Mon Sep 17 00:00:00 2001 From: halx99 Date: Sun, 2 Aug 2020 17:00:35 +0800 Subject: [PATCH] Unnecessary space lilne [skip appveyor] [skip travis] --- cocos/platform/desktop/CCGLViewImpl-desktop.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cocos/platform/desktop/CCGLViewImpl-desktop.cpp b/cocos/platform/desktop/CCGLViewImpl-desktop.cpp index cc9fbc3bf6..a5a4a63be5 100644 --- a/cocos/platform/desktop/CCGLViewImpl-desktop.cpp +++ b/cocos/platform/desktop/CCGLViewImpl-desktop.cpp @@ -682,7 +682,6 @@ void GLViewImpl::setFullscreen(GLFWmonitor *monitor, int w, int h, int refreshRa _monitor = monitor; const GLFWvidmode* videoMode = glfwGetVideoMode(_monitor); - if (w == -1) w = videoMode->width; if (h == -1)