mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-30 08:24:05 +00:00
Merge pull request #5 from DaMarkov/pixelformat-error
Removed error message when `SetPixelFormat()` fails
This commit is contained in:
commit
cc22862e39
|
@ -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