Henri Verbeet : wined3d: Get rid of the location fixup in surface_blt_fbo() .

Alexandre Julliard julliard at winehq.org
Fri Aug 26 10:40:47 CDT 2011


Module: wine
Branch: master
Commit: 3b478afd10031a39fb3b92c6506de04c4e69b8c3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3b478afd10031a39fb3b92c6506de04c4e69b8c3

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Aug 25 21:04:58 2011 +0200

wined3d: Get rid of the location fixup in surface_blt_fbo().

---

 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




More information about the wine-cvs mailing list