Henri Verbeet : wined3d: Set the current location to SFLAG_INTEXTURE instead of SFLAG_INDRAWABLE in wined3d_surface_depth_blt ().

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:19 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Aug 23 20:08:07 2011 +0200

wined3d: Set the current location to SFLAG_INTEXTURE instead of SFLAG_INDRAWABLE in wined3d_surface_depth_blt().

These currently end up being the same thing, but that will change soon.

---

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

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 17edbdc..3cd424e 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1461,7 +1461,7 @@ static HRESULT wined3d_surface_depth_blt(struct wined3d_surface *src_surface, co
 
     surface_modify_ds_location(dst_surface, SFLAG_DS_OFFSCREEN,
             dst_surface->ds_current_size.cx, dst_surface->ds_current_size.cy);
-    surface_modify_location(dst_surface, SFLAG_INDRAWABLE, TRUE);
+    surface_modify_location(dst_surface, SFLAG_INTEXTURE, TRUE);
 
     return WINED3D_OK;
 }




More information about the wine-cvs mailing list