1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-14 22:03:27 +01:00

remove old hook=2 checks

This commit is contained in:
FunkyFr3sh 2025-01-07 04:34:42 +01:00
parent af634df78a
commit 209703d976

View File

@ -976,12 +976,12 @@ int WINAPI fake_GetDeviceCaps(HDC hdc, int index)
bpp = strtoul(e + 1, &e, 0);
}
if (bpp && index == BITSPIXEL && (g_config.hook != 2 || g_ddraw.renderer == gdi_render_main))
if (bpp && index == BITSPIXEL)
{
return bpp;
}
if (bpp == 8 && (g_config.hook != 2 || g_ddraw.renderer == gdi_render_main))
if (bpp == 8)
{
if (index == RASTERCAPS)
{