From: Axel Davy Date: Thu, 19 Feb 2015 19:23:06 +0000 (+0100) Subject: st/nine: Fix NineBaseTexture9_PreLoad X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec411d9b74f9aca941b27fafeae1416df0f9eaec;p=mesa.git st/nine: Fix NineBaseTexture9_PreLoad It wasn't uploading the texture when the lod had changed. Signed-off-by: Axel Davy --- 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); }