From 4bb89a43d043299668212ce499474348ece2d727 Mon Sep 17 00:00:00 2001 From: DaMarkov Date: Sat, 19 Feb 2022 15:03:03 +0100 Subject: [PATCH] Removed error message when `SetPixelFormat()` fails. --- src/Graphics/OpenGLContext/windows/WindowsWGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp b/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp index b35b2477..123670b5 100644 --- a/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp +++ b/src/Graphics/OpenGLContext/windows/WindowsWGL.cpp @@ -49,7 +49,7 @@ bool WindowsWGL::start() if ((SetPixelFormat(hDC, pixelFormat, &pfd)) == FALSE) { auto err = GetLastError(); auto currentFormat = GetPixelFormat(hDC); - MessageBoxW(hWnd, L"Error while setting pixel format!", pluginNameW, MB_ICONERROR | MB_OK); + //MessageBoxW(hWnd, L"Error while setting pixel format!", pluginNameW, MB_ICONERROR | MB_OK); } if ((hRC = wglCreateContext(hDC)) == NULL) {