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

This commit is contained in:
Henri Verbeet 2011-08-25 21:04:58 +02:00 committed by Alexandre Julliard
parent eac640532d
commit 3b478afd10
1 changed files with 0 additions and 5 deletions

View File

@ -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