From ec411d9b74f9aca941b27fafeae1416df0f9eaec Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Thu, 19 Feb 2015 20:23:06 +0100 Subject: [PATCH] st/nine: Fix NineBaseTexture9_PreLoad It wasn't uploading the texture when the lod had changed. Signed-off-by: Axel Davy --- 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 330827aec37..c9e82f38bab 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.30.2