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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-05-02 11:35:28 +02:00 committed by Alexandre Julliard
parent fb4740bbb3
commit aa199aca5c
1 changed files with 4 additions and 0 deletions

View File

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