projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b45fa97
)
st/nine: Fix NineBaseTexture9_PreLoad
author
Axel Davy
<axel.davy@ens.fr>
Thu, 19 Feb 2015 19:23:06 +0000
(20:23 +0100)
committer
Axel 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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/basetexture9.c
b/src/gallium/state_trackers/nine/basetexture9.c
index 330827aec3759d4d9feec4120a266657ddd4fdbe..c9e82f38bab95dc4ea42facf0ea0a58b5aabb055 100644
(file)
--- 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);
}