st/nine: Fix NineBaseTexture9_PreLoad
authorAxel Davy <axel.davy@ens.fr>
Thu, 19 Feb 2015 19:23:06 +0000 (20:23 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:11 +0000 (08:28 +0200)
It wasn't uploading the texture when the lod
had changed.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/basetexture9.c

index 330827aec3759d4d9feec4120a266657ddd4fdbe..c9e82f38bab95dc4ea42facf0ea0a58b5aabb055 100644 (file)
@@ -573,7 +573,7 @@ NineBaseTexture9_PreLoad( struct NineBaseTexture9 *This )
 {
     DBG("This=%p\n", This);
 
-    if (This->managed.dirty && This->base.pool == D3DPOOL_MANAGED)
+    if (This->base.pool == D3DPOOL_MANAGED)
         NineBaseTexture9_UploadSelf(This);
 }