remove old hook=2 checks
This commit is contained in:
parent
af634df78a
commit
209703d976
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue