Skip to content

Commit

Permalink
keep logs clean in mini debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 15, 2024
1 parent 75ed158 commit bf62b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winapi_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ HPALETTE WINAPI fake_SelectPalette(HDC hdc, HPALETTE hPal, BOOL bForceBkgd)
{
if (g_ddraw.primary && g_ddraw.primary->palette)
{
TRACE("%s [%p]\n", __FUNCTION__, _ReturnAddress());
TRACE_EXT("%s [%p]\n", __FUNCTION__, _ReturnAddress());

g_ddraw.primary->selected_pal_count = GetPaletteEntries(hPal, 0, 256, g_ddraw.primary->selected_pal);

Expand All @@ -1427,7 +1427,7 @@ UINT WINAPI fake_RealizePalette(HDC hdc)
{
if (g_ddraw.primary && g_ddraw.primary->palette)
{
TRACE("%s [%p]\n", __FUNCTION__, _ReturnAddress());
TRACE_EXT("%s [%p]\n", __FUNCTION__, _ReturnAddress());

ddp_SetEntries(
g_ddraw.primary->palette,
Expand Down

0 comments on commit bf62b84

Please sign in to comment.