[PATCH 3/5] wined3d: Print a FIXME if the view format doesn't match the resource format in surface_cpu_blt_colour_fill().
Henri Verbeet
hverbeet at codeweavers.com
Tue May 2 04:35:28 CDT 2017
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
dlls/wined3d/surface.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index a02b6f2..864a20c 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3359,6 +3359,10 @@ static void surface_cpu_blt_colour_fill(struct wined3d_rendertarget_view *view,
return;
}
+ if (view->format->id != view->resource->format->id)
+ FIXME("View format %s doesn't match resource format %s.\n",
+ debug_d3dformat(view->format->id), debug_d3dformat(view->resource->format->id));
+
if (view->resource->type == WINED3D_RTYPE_BUFFER)
{
FIXME("Not implemented for buffers.\n");
--
2.1.4
More information about the wine-patches
mailing list