mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
remove old hook=2 checks
This commit is contained in:
parent
af634df78a
commit
209703d976
@ -976,12 +976,12 @@ int WINAPI fake_GetDeviceCaps(HDC hdc, int index)
|
|||||||
bpp = strtoul(e + 1, &e, 0);
|
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;
|
return bpp;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bpp == 8 && (g_config.hook != 2 || g_ddraw.renderer == gdi_render_main))
|
if (bpp == 8)
|
||||||
{
|
{
|
||||||
if (index == RASTERCAPS)
|
if (index == RASTERCAPS)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user