Commit 3f591ecb authored by Jason Green's avatar Jason Green Committed by Alexandre Julliard

wined3d: Add some more debugging info.

Adds more debugging FIXME's if a specific WINED3DFMT_??? isn't supported.
parent 7fb3f12c
...@@ -893,7 +893,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) { ...@@ -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) { ...@@ -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:
......
...@@ -1941,8 +1941,9 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i ...@@ -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 ...@@ -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 ...@@ -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;
} }
} }
......
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