diff options
-rw-r--r-- | src/gallium/state_trackers/nine/volumetexture9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/volumetexture9.c b/src/gallium/state_trackers/nine/volumetexture9.c index 4908ed7b5ef..5c83fdb60ce 100644 --- a/src/gallium/state_trackers/nine/volumetexture9.c +++ b/src/gallium/state_trackers/nine/volumetexture9.c @@ -139,7 +139,7 @@ NineVolumeTexture9_dtor( struct NineVolumeTexture9 *This ) DBG("This=%p\n", This); if (This->volumes) { - for (l = 0; l < This->base.base.info.last_level; ++l) + for (l = 0; l <= This->base.base.info.last_level; ++l) NineUnknown_Destroy(&This->volumes[l]->base); FREE(This->volumes); } |