mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-30 08:24:05 +00:00
Removed error message when SetPixelFormat()
fails.
This commit is contained in:
parent
403658b456
commit
4bb89a43d0
|
@ -49,7 +49,7 @@ bool WindowsWGL::start()
|
||||||
if ((SetPixelFormat(hDC, pixelFormat, &pfd)) == FALSE) {
|
if ((SetPixelFormat(hDC, pixelFormat, &pfd)) == FALSE) {
|
||||||
auto err = GetLastError();
|
auto err = GetLastError();
|
||||||
auto currentFormat = GetPixelFormat(hDC);
|
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) {
|
if ((hRC = wglCreateContext(hDC)) == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user