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

Merge pull request #5 from DaMarkov/pixelformat-error

Removed error message when `SetPixelFormat()` fails
This commit is contained in:
Blake Warner 2022-02-20 08:12:10 -05:00 committed by GitHub
commit cc22862e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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