wined3d: Use wined3d_texture_bind_and_dirtify() in wined3d_texture_upload_data().
This commit is contained in:
parent
5c9da580a8
commit
dcaaf915f8
|
@ -749,7 +749,7 @@ static void wined3d_texture_upload_data(struct wined3d_texture *texture, const s
|
||||||
context = context_acquire(texture->resource.device, NULL);
|
context = context_acquire(texture->resource.device, NULL);
|
||||||
|
|
||||||
wined3d_texture_prepare_texture(texture, context, FALSE);
|
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)
|
for (i = 0; i < sub_count; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue