mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
ddraw: Rename DDRAW_dump_flags_() to DDRAW_dump_flags_nolf() to clarify its difference from DDRAW_dump_flags().
This commit is contained in:
parent
64b7359265
commit
6a8f961e08
@ -629,12 +629,8 @@ DDRAW_dump_DDCOLORKEY(const DDCOLORKEY *ddck)
|
|||||||
TRACE(" Low : %d - High : %d", ddck->dwColorSpaceLowValue, ddck->dwColorSpaceHighValue);
|
TRACE(" Low : %d - High : %d", ddck->dwColorSpaceLowValue, ddck->dwColorSpaceHighValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DDRAW_dump_flags(flags,names,num_names) DDRAW_dump_flags_(flags, names, num_names, 1)
|
static void DDRAW_dump_flags_nolf(DWORD flags, const flag_info* names,
|
||||||
static void
|
size_t num_names)
|
||||||
DDRAW_dump_flags_(DWORD flags,
|
|
||||||
const flag_info* names,
|
|
||||||
size_t num_names,
|
|
||||||
int newline)
|
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
@ -642,9 +638,13 @@ DDRAW_dump_flags_(DWORD flags,
|
|||||||
if ((flags & names[i].val) || /* standard flag value */
|
if ((flags & names[i].val) || /* standard flag value */
|
||||||
((!flags) && (!names[i].val))) /* zero value only */
|
((!flags) && (!names[i].val))) /* zero value only */
|
||||||
TRACE("%s ", names[i].name);
|
TRACE("%s ", names[i].name);
|
||||||
|
}
|
||||||
|
|
||||||
if (newline)
|
static void DDRAW_dump_flags(DWORD flags, const flag_info* names,
|
||||||
TRACE("\n");
|
size_t num_names)
|
||||||
|
{
|
||||||
|
DDRAW_dump_flags_nolf(flags, names, num_names);
|
||||||
|
TRACE("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void DDRAW_dump_DDSCAPS2(const DDSCAPS2 *in)
|
void DDRAW_dump_DDSCAPS2(const DDSCAPS2 *in)
|
||||||
@ -703,8 +703,8 @@ void DDRAW_dump_DDSCAPS2(const DDSCAPS2 *in)
|
|||||||
FE(DDSCAPS2_STEREOSURFACELEFT)
|
FE(DDSCAPS2_STEREOSURFACELEFT)
|
||||||
};
|
};
|
||||||
|
|
||||||
DDRAW_dump_flags_(in->dwCaps, flags, sizeof(flags)/sizeof(flags[0]), 0);
|
DDRAW_dump_flags_nolf(in->dwCaps, flags, sizeof(flags)/sizeof(flags[0]));
|
||||||
DDRAW_dump_flags_(in->dwCaps2, flags2, sizeof(flags2)/sizeof(flags2[0]), 0);
|
DDRAW_dump_flags_nolf(in->dwCaps2, flags2, sizeof(flags2)/sizeof(flags2[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -741,7 +741,7 @@ DDRAW_dump_pixelformat_flag(DWORD flagmask)
|
|||||||
FE(DDPF_ZPIXELS)
|
FE(DDPF_ZPIXELS)
|
||||||
};
|
};
|
||||||
|
|
||||||
DDRAW_dump_flags_(flagmask, flags, sizeof(flags)/sizeof(flags[0]), 0);
|
DDRAW_dump_flags_nolf(flagmask, flags, sizeof(flags)/sizeof(flags[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user