From e4f69bc394e1b92e3d1dabf320258425c2876091 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 3 May 2015 23:28:25 +0200 Subject: st/nine: SetAutoGenFilterType should regenerate the sublevels It should regenerate the sublevels according to the spec Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/basetexture9.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c index cc74cc9380f..728aafd9a59 100644 --- 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; } -- cgit v1.2.3