mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix warning
This commit is contained in:
parent
54d6ff5112
commit
d97dd8e106
@ -657,7 +657,7 @@ BOOL util_detect_low_res_screen()
|
||||
static LPW2DDSTRUCT* pW2DS;
|
||||
|
||||
if (!pW2DS)
|
||||
pW2DS = (char*)GetModuleHandleA(NULL) + 0x799C4;
|
||||
pW2DS = (LPW2DDSTRUCT*)((DWORD)GetModuleHandleA(NULL) + 0x799C4);
|
||||
|
||||
if (g_ddraw.width <= g_ddraw.upscale_hack_width || g_ddraw.height <= g_ddraw.upscale_hack_height)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user