Henri Verbeet : wined3d: Print a FIXME if the view format doesn' t match the resource format in surface_cpu_blt_colour_fill().
Alexandre Julliard
julliard at winehq.org
Tue May 2 15:58:47 CDT 2017
Module: wine
Branch: master
Commit: aa199aca5c8dbe17f0752b3c24a32f1572acab58
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aa199aca5c8dbe17f0752b3c24a32f1572acab58
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue May 2 11:35:28 2017 +0200
wined3d: Print a FIXME if the view format doesn't match the resource format in surface_cpu_blt_colour_fill().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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");
More information about the wine-cvs
mailing list