summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_gen_mipmap.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-28 20:25:26 -0700
committerBrian Paul <brianp@vmware.com>2011-01-28 20:25:26 -0700
commitdb3a8af7f900e4970ea18659e86a824b4ebdefc7 (patch)
treeba9c825a61044cd3aee8ae672750ecfad29eebcb /src/mesa/state_tracker/st_gen_mipmap.c
parent2a18d1950c84c96d263cc8f15434502e03aeb1dc (diff)
st/mesa: pass layers param to st_texture_create()
Diffstat (limited to 'src/mesa/state_tracker/st_gen_mipmap.c')
-rw-r--r--src/mesa/state_tracker/st_gen_mipmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c
index c5f6008a22..77b6c46b30 100644
--- a/src/mesa/state_tracker/st_gen_mipmap.c
+++ b/src/mesa/state_tracker/st_gen_mipmap.c
@@ -352,6 +352,7 @@ st_generate_mipmap(struct gl_context *ctx, GLenum target,
oldTex->width0,
oldTex->height0,
oldTex->depth0,
+ oldTex->array_size,
oldTex->bind);
/* The texture isn't in a "complete" state yet so set the expected