mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Remove probably outdated and unnecessary color depth check
This commit is contained in:
1 parent
1e8a1b801f
commit
f3e0029285
1 file changed
-9
@@ -116,15 +116,6 @@ unsigned int WINAPI TheThread(void *)
|
||||
host = oldHost;
|
||||
|
||||
host->UpdateUI();
|
||||
|
||||
//Check Colour depth
|
||||
HDC dc = GetDC(NULL);
|
||||
u32 colour_depth = GetDeviceCaps(dc, BITSPIXEL);
|
||||
ReleaseDC(NULL, dc);
|
||||
if (colour_depth != 32){
|
||||
MessageBox(0, L"Please switch your display to 32-bit colour mode", L"OpenGL Error", MB_OK);
|
||||
ExitProcess(1);
|
||||
}
|
||||
|
||||
std::string error_string;
|
||||
if (!host->InitGraphics(&error_string)) {
|
||||
|
||||
Reference in new issue
Block a user