From f3e002928584d6510b1e186dce2235f5d27c01cd Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Wed, 26 Aug 2015 23:56:38 +0200 Subject: [PATCH] Remove probably outdated and unnecessary color depth check --- Windows/EmuThread.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Windows/EmuThread.cpp b/Windows/EmuThread.cpp index 833384b278..985dba1a76 100644 --- a/Windows/EmuThread.cpp +++ b/Windows/EmuThread.cpp @@ -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)) {