Henri Verbeet : wined3d: Remove the render target check in x11_copy_to_screen().
Alexandre Julliard
julliard at winehq.org
Wed Dec 11 13:05:46 CST 2013
Module: wine
Branch: master
Commit: 38495706b79bc77759aca918ba60d9d226b072ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=38495706b79bc77759aca918ba60d9d226b072ee
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Dec 11 14:32:03 2013 +0100
wined3d: Remove the render target check in x11_copy_to_screen().
---
dlls/wined3d/swapchain.c | 3 ---
1 files changed, 0 insertions(+), 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");
More information about the wine-cvs
mailing list