[PATCH 3/4] wined3d: Use wined3d_texture_bind_and_dirtify() in wined3d_texture_upload_data().

Henri Verbeet hverbeet at codeweavers.com
Thu Apr 16 04:26:35 CDT 2015


---
 dlls/wined3d/texture.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index 34c69d1..78d1266 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -749,7 +749,7 @@ static void wined3d_texture_upload_data(struct wined3d_texture *texture, const s
     context = context_acquire(texture->resource.device, NULL);
 
     wined3d_texture_prepare_texture(texture, context, FALSE);
-    wined3d_texture_bind(texture, context, FALSE);
+    wined3d_texture_bind_and_dirtify(texture, context, FALSE);
 
     for (i = 0; i < sub_count; ++i)
     {
-- 
1.7.10.4




More information about the wine-patches mailing list