[PATCH 04/10] wined3d: Get rid of the location fixup in surface_blt_fbo().

Henri Verbeet hverbeet at codeweavers.com
Thu Aug 25 14:04:58 CDT 2011


---
 dlls/wined3d/surface.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 49dbc68..ec3cf20 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1207,11 +1207,6 @@ static void surface_blt_fbo(struct wined3d_device *device, const WINED3DTEXTUREF
             break;
     }
 
-    if (src_location == SFLAG_INDRAWABLE && surface_is_offscreen(src_surface))
-        src_location = SFLAG_INTEXTURE;
-    if (dst_location == SFLAG_INDRAWABLE && surface_is_offscreen(dst_surface))
-        dst_location = SFLAG_INTEXTURE;
-
     /* Make sure the locations are up-to-date. Loading the destination
      * surface isn't required if the entire surface is overwritten. (And is
      * in fact harmful if we're being called by surface_load_location() with
-- 
1.7.3.4




More information about the wine-patches mailing list