Module: wine Branch: refs/heads/master Commit: 3f591ecb13dc4593ae80f3cba0d865d071613980 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3f591ecb13dc4593ae80f3cb...
Author: Jason Green jave27@gmail.com Date: Sun Apr 9 20:45:58 2006 -0400
wined3d: Add some more debugging info.
Adds more debugging FIXME's if a specific WINED3DFMT_??? isn't supported.
---
dlls/wined3d/surface.c | 4 ++-- dlls/wined3d/utils.c | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f1868cd..a02c6ab 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -893,7 +893,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_Unloc IWineD3DSurface_CleanDirtyRect(iface);
} 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);
@@ -906,7 +906,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_Unloc }
} 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: diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index c1eb03e..1b77b5b 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1941,8 +1941,9 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBuffer PUSH2(GLX_GREEN_SIZE, 10); PUSH2(GLX_BLUE_SIZE, 10); break; - + default: + FIXME("Unsupported color format: %s\n", debug_d3dformat(BackBufferFormat)); break; } if(!alternate){ @@ -1983,6 +1984,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBuffer break;
default: + FIXME("Unsupported stencil format: %s\n", debug_d3dformat(BackBufferFormat)); break; }
@@ -2024,6 +2026,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBuffer break;
default: + FIXME("Unsupported stencil format: %s\n", debug_d3dformat(BackBufferFormat)); break; } }