[PATCH 1/5] wined3d: Remove the render target check in x11_copy_to_screen().
Henri Verbeet
hverbeet at codeweavers.com
Wed Dec 11 07:32:03 CST 2013
---
dlls/wined3d/swapchain.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 6675c35..ff2ac64 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -618,9 +618,6 @@ void x11_copy_to_screen(const struct wined3d_swapchain *swapchain, const RECT *r
TRACE("swapchain %p, rect %s.\n", swapchain, wine_dbgstr_rect(rect));
front = swapchain->front_buffer;
- if (!(front->resource.usage & WINED3DUSAGE_RENDERTARGET))
- return;
-
if (front->resource.map_count)
ERR("Trying to blit a mapped surface.\n");
--
1.7.10.4
More information about the wine-patches
mailing list