summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-02-19 22:28:37 +0100
committerAxel Davy <[email protected]>2015-04-29 08:28:11 +0200
commit24eca6a30dea4cde0b0528b85e83d45a6430762e (patch)
tree3ae1ec11106007aefb3922b65f741a6b5e72c540 /src/gallium/state_trackers/nine/basetexture9.c
parent7a7758c5525fa90bf7c546acc58a9ea41f7d320b (diff)
st/nine: util_gen_mipmap doesn't need we reset states.
util_gen_mipmap uses pipe->blit, and thus doesn't need we restore all states after using it. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/basetexture9.c')
-rw-r--r--src/gallium/state_trackers/nine/basetexture9.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c
index c9e82f38bab..7315e787390 100644
--- a/src/gallium/state_trackers/nine/basetexture9.c
+++ b/src/gallium/state_trackers/nine/basetexture9.c
@@ -404,8 +404,6 @@ NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This )
first_layer, last_layer, filter);
This->dirty_mip = FALSE;
-
- NineDevice9_RestoreNonCSOState(This->base.base.device, ~0x3);
}
HRESULT