wined3d: Add some more debugging info.

Adds more debugging FIXME's if a specific WINED3DFMT_??? isn't supported.
This commit is contained in:
Jason Green 2006-04-09 20:45:58 -04:00 committed by Alexandre Julliard
parent 7fb3f12ce5
commit 3f591ecb13
2 changed files with 6 additions and 3 deletions

View File

@ -893,7 +893,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) {
IWineD3DSurface_CleanDirtyRect(iface); IWineD3DSurface_CleanDirtyRect(iface);
} else { } else {
FIXME("unsupported unlocking to Rendering surface surf@%p usage(%lu)\n", This, This->resource.usage); FIXME("unsupported unlocking to Rendering surface surf@%p usage(%s)\n", This, debug_d3dusage(This->resource.usage));
} }
IWineD3DSwapChain_Release((IWineD3DSwapChain *)implSwapChain); IWineD3DSwapChain_Release((IWineD3DSwapChain *)implSwapChain);
@ -906,7 +906,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) {
} }
} else { } else {
FIXME("unsupported unlocking to surface surf@%p usage(%lu)\n", This, This->resource.usage); FIXME("unsupported unlocking to surface surf@%p usage(%s)\n", This, debug_d3dusage(This->resource.usage));
} }
unlock_end: unlock_end:

View File

@ -1941,8 +1941,9 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
PUSH2(GLX_GREEN_SIZE, 10); PUSH2(GLX_GREEN_SIZE, 10);
PUSH2(GLX_BLUE_SIZE, 10); PUSH2(GLX_BLUE_SIZE, 10);
break; break;
default: default:
FIXME("Unsupported color format: %s\n", debug_d3dformat(BackBufferFormat));
break; break;
} }
if(!alternate){ if(!alternate){
@ -1983,6 +1984,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
break; break;
default: default:
FIXME("Unsupported stencil format: %s\n", debug_d3dformat(BackBufferFormat));
break; break;
} }
@ -2024,6 +2026,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
break; break;
default: default:
FIXME("Unsupported stencil format: %s\n", debug_d3dformat(BackBufferFormat));
break; break;
} }
} }