[Mesa-dev] [PATCH 06/11] st/nine: Fix NineBaseTexture9_PreLoad

Axel Davy axel.davy at ens.fr
Fri Apr 24 13:11:21 PDT 2015


It wasn't uploading the texture when the lod
had changed.

Signed-off-by: Axel Davy <axel.davy at ens.fr>
---
 src/gallium/state_trackers/nine/basetexture9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c
index 330827a..c9e82f3 100644
--- a/src/gallium/state_trackers/nine/basetexture9.c
+++ b/src/gallium/state_trackers/nine/basetexture9.c
@@ -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);
 }
 
-- 
2.1.0



More information about the mesa-dev mailing list