diff options
author | Axel Davy <[email protected]> | 2015-02-19 20:23:06 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-04-29 08:28:11 +0200 |
commit | ec411d9b74f9aca941b27fafeae1416df0f9eaec (patch) | |
tree | 64cba80acd0c179d93328a9c9e9a37fb843c3ecf /src/gallium/state_trackers/nine | |
parent | b45fa97a22d091a5c9a3d9c9432ff880e79231d6 (diff) |
st/nine: Fix NineBaseTexture9_PreLoad
It wasn't uploading the texture when the lod
had changed.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/basetexture9.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |