Commit 687642fa authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of the WINED3DUSAGE_OVERLAY check in gdi_surface_private_setup().

Overlays shouldn't be any more broken for "GDI" surfaces than for regular surfaces. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7fb0ff9e
......@@ -1094,12 +1094,6 @@ static HRESULT gdi_surface_private_setup(struct wined3d_surface *surface)
TRACE("surface %p.\n", surface);
if (surface->resource.usage & WINED3DUSAGE_OVERLAY)
{
ERR("Overlays not yet supported by GDI surfaces.\n");
return WINED3DERR_INVALIDCALL;
}
/* Sysmem textures have memory already allocated - release it,
* this avoids an unnecessary memcpy. */
hr = surface_create_dib_section(surface);
......
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