wined3d: D3DDEVTYPE: Consistently use in WINED3D namespace.

This commit is contained in:
Ivan Gyurdiev 2006-10-10 21:52:00 -04:00 committed by Alexandre Julliard
parent fb0c932f21
commit 19c5534c35
2 changed files with 7 additions and 7 deletions

View File

@ -216,15 +216,15 @@ const char* debug_d3dformat(WINED3DFORMAT fmt) {
}
}
const char* debug_d3ddevicetype(D3DDEVTYPE devtype) {
const char* debug_d3ddevicetype(WINED3DDEVTYPE devtype) {
switch (devtype) {
#define DEVTYPE_TO_STR(dev) case dev: return #dev
DEVTYPE_TO_STR(D3DDEVTYPE_HAL);
DEVTYPE_TO_STR(D3DDEVTYPE_REF);
DEVTYPE_TO_STR(D3DDEVTYPE_SW);
DEVTYPE_TO_STR(WINED3DDEVTYPE_HAL);
DEVTYPE_TO_STR(WINED3DDEVTYPE_REF);
DEVTYPE_TO_STR(WINED3DDEVTYPE_SW);
#undef DEVTYPE_TO_STR
default:
FIXME("Unrecognized %u D3DDEVTYPE!\n", devtype);
FIXME("Unrecognized %u WINED3DDEVTYPE!\n", devtype);
return "unrecognized";
}
}

View File

@ -529,7 +529,7 @@ typedef struct IWineD3DDeviceImpl
/* Internal use fields */
WINED3DDEVICE_CREATION_PARAMETERS createParms;
UINT adapterNo;
D3DDEVTYPE devType;
WINED3DDEVTYPE devType;
IWineD3DSwapChain **swapchains;
uint NumberOfSwapChains;
@ -1245,7 +1245,7 @@ extern IWineD3DSwapChainVtbl IWineD3DSwapChain_Vtbl;
/* Trace routines */
const char* debug_d3dformat(WINED3DFORMAT fmt);
const char* debug_d3ddevicetype(D3DDEVTYPE devtype);
const char* debug_d3ddevicetype(WINED3DDEVTYPE devtype);
const char* debug_d3dresourcetype(WINED3DRESOURCETYPE res);
const char* debug_d3dusage(DWORD usage);
const char* debug_d3dusagequery(DWORD usagequery);