projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75f830
)
st/nine: SetAutoGenFilterType should regenerate the sublevels
author
Axel Davy
<axel.davy@ens.fr>
Sun, 3 May 2015 21:28:25 +0000
(23:28 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000
(22:21 +0200)
It should regenerate the sublevels according to the spec
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
cc74cc9
..
728aafd
100644
(file)
--- a/
src/gallium/state_trackers/nine/basetexture9.c
+++ b/
src/gallium/state_trackers/nine/basetexture9.c
@@
-153,6
+153,8
@@
NineBaseTexture9_SetAutoGenFilterType( struct NineBaseTexture9 *This,
user_assert(FilterType != D3DTEXF_NONE, D3DERR_INVALIDCALL);
This->mipfilter = FilterType;
+ This->dirty_mip = TRUE;
+ NineBaseTexture9_GenerateMipSubLevels(This);
return D3D_OK;
}