[PATCH 03/10] wined3d: Set the current location to SFLAG_INTEXTURE instead of SFLAG_INDRAWABLE in wined3d_surface_depth_blt().

Henri Verbeet hverbeet at codeweavers.com
Tue Aug 23 13:08:07 CDT 2011


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;
 }
-- 
1.7.3.4




More information about the wine-patches mailing list