Augment the DDSCAPS2 dumping routine with new caps.

This commit is contained in:
Lionel Ulmer 2002-11-04 22:33:53 +00:00 committed by Alexandre Julliard
parent e8d0f97453
commit f18aec26c4
1 changed files with 54 additions and 33 deletions

View File

@ -157,8 +157,7 @@ void DDRAW_dump_DDBLT(DWORD flagmask)
void DDRAW_dump_DDSCAPS(const DDSCAPS2 *in)
{
static const flag_info flags[] =
{
static const flag_info flags[] = {
FE(DDSCAPS_RESERVED1),
FE(DDSCAPS_ALPHA),
FE(DDSCAPS_BACKBUFFER),
@ -190,8 +189,30 @@ void DDRAW_dump_DDSCAPS(const DDSCAPS2 *in)
FE(DDSCAPS_STANDARDVGAMODE),
FE(DDSCAPS_OPTIMIZED)
};
static const flag_info flags2[] = {
FE(DDSCAPS2_HARDWAREDEINTERLACE),
FE(DDSCAPS2_HINTDYNAMIC),
FE(DDSCAPS2_HINTSTATIC),
FE(DDSCAPS2_TEXTUREMANAGE),
FE(DDSCAPS2_RESERVED1),
FE(DDSCAPS2_RESERVED2),
FE(DDSCAPS2_OPAQUE),
FE(DDSCAPS2_HINTANTIALIASING),
FE(DDSCAPS2_CUBEMAP),
FE(DDSCAPS2_CUBEMAP_POSITIVEX),
FE(DDSCAPS2_CUBEMAP_NEGATIVEX),
FE(DDSCAPS2_CUBEMAP_POSITIVEY),
FE(DDSCAPS2_CUBEMAP_NEGATIVEY),
FE(DDSCAPS2_CUBEMAP_POSITIVEZ),
FE(DDSCAPS2_CUBEMAP_NEGATIVEZ),
FE(DDSCAPS2_MIPMAPSUBLEVEL),
FE(DDSCAPS2_D3DTEXTUREMANAGE),
FE(DDSCAPS2_DONOTPERSIST),
FE(DDSCAPS2_STEREOSURFACELEFT)
};
DDRAW_dump_flags_(in->dwCaps, flags, sizeof(flags)/sizeof(flags[0]), 0);
DDRAW_dump_flags_(in->dwCaps2, flags2, sizeof(flags2)/sizeof(flags2[0]), 0);
}
void DDRAW_dump_pixelformat_flag(DWORD flagmask)