Commit 84e7a04b authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Simply use view size as drawable size for resources other than 2d textures.

parent a727b742
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment