Henri Verbeet : wined3d: Add some FIXMEs about blitting with unsupported fixups.

Alexandre Julliard julliard at winehq.org
Tue Jun 9 10:45:28 CDT 2009


Module: wine
Branch: master
Commit: 910455e435dfca026cf2571edb34100132fc2d6a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=910455e435dfca026cf2571edb34100132fc2d6a

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Jun  9 10:47:20 2009 +0200

wined3d: Add some FIXMEs about blitting with unsupported fixups.

---

 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);
 




More information about the wine-cvs mailing list