Skip to content

Commit 091a8c1

Browse files
committed
add debug logging
1 parent 0905cb8 commit 091a8c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/winapi_hooks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,8 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
13551355

13561356
if (g_ddraw.ref && g_ddraw.bpp == 8 && pPalEntries && WindowFromDC(hdc) == g_ddraw.hwnd)
13571357
{
1358+
TRACE(" WindowFromDC(hdc) == g_ddraw.hwnd\n");
1359+
13581360
if (g_ddraw.primary && g_ddraw.primary->palette)
13591361
{
13601362
ddp_GetEntries(g_ddraw.primary->palette, 0, iStart, cEntries, pPalEntries);

0 commit comments

Comments
 (0)