wined3d: Support missing WINED3DUSAGE flags to debug_d3dusage.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c0505097f9
commit
77e1037e00
|
@ -3603,7 +3603,7 @@ const char *debug_d3ddevicetype(enum wined3d_device_type device_type)
|
|||
|
||||
const char *debug_d3dusage(DWORD usage)
|
||||
{
|
||||
char buf[333];
|
||||
char buf[552];
|
||||
|
||||
buf[0] = '\0';
|
||||
#define WINED3DUSAGE_TO_STR(u) if (usage & u) { strcat(buf, " | "#u); usage &= ~u; }
|
||||
|
@ -3617,7 +3617,14 @@ const char *debug_d3dusage(DWORD usage)
|
|||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_NPATCHES);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_DYNAMIC);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_AUTOGENMIPMAP);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_RESTRICTED_CONTENT);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_RESTRICT_SHARED_RESOURCE_DRIVER);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_RESTRICT_SHARED_RESOURCE);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_DMAP);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_TEXTAPI);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_LEGACY_CUBEMAP);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_TEXTURE);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_OWNDC);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_STATICDECL);
|
||||
WINED3DUSAGE_TO_STR(WINED3DUSAGE_OVERLAY);
|
||||
#undef WINED3DUSAGE_TO_STR
|
||||
|
|
Loading…
Reference in New Issue