From c2efd5cf89ec355e797c031ae3fe28bbc9699cf7 Mon Sep 17 00:00:00 2001 From: Lveyou <1339484752@qq.com> Date: Thu, 3 Apr 2025 23:27:56 +0800 Subject: [PATCH] =?UTF-8?q?*=20=E5=85=A8=E5=B1=8F=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dl/system/dl_system.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dl/system/dl_system.cpp b/dl/system/dl_system.cpp index 680dae51..47a5bca9 100644 --- a/dl/system/dl_system.cpp +++ b/dl/system/dl_system.cpp @@ -453,9 +453,7 @@ void System::SetFullScreen(FullScreenMode mode, const Size& size /*= {}*/) } else if (mode == FullScreenMode::FULL) { - GLFWmonitor* monitor = glfwGetPrimaryMonitor(); - glfwSetWindowMonitor(_imp->_window, monitor, - 0, 0, (int)size[0], (int)size[1], GLFW_DONT_CARE); + glfwSetWindowSize(_imp->_window, (int)size[0], (int)size[1]); } else if (mode == FullScreenMode::FULL_WINDOW) {