wined3d: Simply use view size as drawable size for resources other than 2d textures.
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
a727b74264
commit
84e7a04be2
|
@ -347,9 +347,8 @@ void wined3d_rendertarget_view_get_drawable_size(const struct wined3d_rendertarg
|
|||
|
||||
if (view->resource->type != WINED3D_RTYPE_TEXTURE_2D)
|
||||
{
|
||||
FIXME("Not implemented for %s resources.\n", debug_d3dresourcetype(view->resource->type));
|
||||
*width = 0;
|
||||
*height = 0;
|
||||
*width = view->width;
|
||||
*height = view->height;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue