Henri Verbeet : wined3d: Get rid of the WINED3DUSAGE_OVERLAY check in gdi_surface_private_setup().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Mar 18 08:33:04 CDT 2016
Module: wine
Branch: master
Commit: 687642fafaaa7220e847d33398945d5c77a2bb15
URL: http://source.winehq.org/git/wine.git/?a=commit;h=687642fafaaa7220e847d33398945d5c77a2bb15
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Mar 17 16:30:06 2016 +0100
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: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/surface.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 846b78f..297a34d 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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);
More information about the wine-cvs
mailing list