Augment the DDSCAPS2 dumping routine with new caps.
This commit is contained in:
parent
e8d0f97453
commit
f18aec26c4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue