From 7294f02b0062cd2696efeb3078bc81cc91a48c4c Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Mon, 2 Sep 2024 22:08:36 +0700 Subject: [PATCH] Fix the 'borderless fullscreen' option #2864 --- src/Graphics/OpenGLContext/windows/WindowsWGL.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp b/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp index 77df7bcb3..d918df186 100644 --- a/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp +++ b/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp @@ -15,7 +15,8 @@ bool WindowsWGL::start() 1, // version number PFD_DRAW_TO_WINDOW | // support window PFD_SUPPORT_OPENGL | // support OpenGL - PFD_DOUBLEBUFFER, // double buffered + PFD_DOUBLEBUFFER | // double buffered + PFD_SUPPORT_COMPOSITION, // composition support, see https://www.opengl.org/pipeline/article/vol003_7/ PFD_TYPE_RGBA, // RGBA type 32, // color depth 0, 0, 0, 0, 0, 0, // color bits ignored