1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-27 23:14:05 +00:00

Removed error message when SetPixelFormat() fails.

This commit is contained in:
DaMarkov 2022-02-19 15:03:03 +01:00
parent 403658b456
commit 4bb89a43d0

View File

@ -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) {