diff options
author | Axel Davy <[email protected]> | 2015-02-19 20:55:42 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-04-29 08:28:11 +0200 |
commit | 7a7758c5525fa90bf7c546acc58a9ea41f7d320b (patch) | |
tree | 328e0f15b70ae3f909fffc1456ec2ef55a3ba7c4 /src/gallium/state_trackers/nine/volume9.c | |
parent | ec411d9b74f9aca941b27fafeae1416df0f9eaec (diff) |
st/nine: D3DUSAGE_AUTOGENMIPMAP is forbidden for volumes
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/volume9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/volume9.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c index 8c9f148373b..b34ee07dce9 100644 --- a/src/gallium/state_trackers/nine/volume9.c +++ b/src/gallium/state_trackers/nine/volume9.c @@ -169,9 +169,6 @@ NineVolume9_MarkContainerDirty( struct NineVolume9 *This ) assert(tex); if (This->desc.Pool == D3DPOOL_MANAGED) tex->managed.dirty = TRUE; - else - if (This->desc.Usage & D3DUSAGE_AUTOGENMIPMAP) - tex->dirty_mip = TRUE; BASETEX_REGISTER_UPDATE(tex); } |