From dcaaf915f890530ea9a991fe90c0a44afd646b40 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 16 Apr 2015 11:26:35 +0200 Subject: [PATCH] wined3d: Use wined3d_texture_bind_and_dirtify() in wined3d_texture_upload_data(). --- 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 34c69d13884..78d126615a1 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) {