Commit 3b478afd authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent eac64053
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment