Commit 19c5534c authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: D3DDEVTYPE: Consistently use in WINED3D namespace.

parent fb0c932f
......@@ -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";
}
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment