wined3d: Implement clears for 1D render target views.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67192c46bc
commit
130b6ed876
|
@ -4394,7 +4394,7 @@ HRESULT CDECL wined3d_device_clear_rendertarget_view(struct wined3d_device *devi
|
|||
return WINED3D_OK;
|
||||
|
||||
resource = view->resource;
|
||||
if (resource->type != WINED3D_RTYPE_TEXTURE_2D)
|
||||
if (resource->type != WINED3D_RTYPE_TEXTURE_1D && resource->type != WINED3D_RTYPE_TEXTURE_2D)
|
||||
{
|
||||
FIXME("Not implemented for %s resources.\n", debug_d3dresourcetype(resource->type));
|
||||
return WINED3DERR_INVALIDCALL;
|
||||
|
|
Loading…
Reference in New Issue