wined3d: Add some FIXMEs about blitting with unsupported fixups.
Henri Verbeet
hverbeet at codeweavers.com
Tue Jun 9 03:47:20 CDT 2009
---
dlls/wined3d/surface.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 4db01cd..81c93e2 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3540,6 +3540,20 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, const
rect.y1 += This->currentDesc.Height - h; rect.y2 += This->currentDesc.Height - h;
}
+ if (!is_identity_fixup(This->resource.format_desc->color_fixup))
+ {
+ FIXME("Destination format %s has a fixup, this is not supported.\n",
+ debug_d3dformat(This->resource.format_desc->format));
+ dump_color_fixup_desc(This->resource.format_desc->color_fixup);
+ }
+
+ if (!myDevice->blitter->color_fixup_supported(Src->resource.format_desc->color_fixup))
+ {
+ FIXME("Source format %s has an unsupported fixup:\n",
+ debug_d3dformat(Src->resource.format_desc->format));
+ dump_color_fixup_desc(Src->resource.format_desc->color_fixup);
+ }
+
myDevice->blitter->set_shader((IWineD3DDevice *) myDevice, Src->resource.format_desc,
Src->glDescription.target, Src->pow2Width, Src->pow2Height);
--
1.6.0.6
--------------050706090102060402000104--
More information about the wine-patches
mailing list