aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-12 14:55:51 -0700
committerBrian <[email protected]>2008-02-12 14:55:51 -0700
commit1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba (patch)
tree9f6b463363f09265a12cc1acafef550ea5e31b25 /src/mesa/state_tracker/st_cb_texture.c
parent4da1cdf78fa3b954840650fa46cf72da5daf149f (diff)
gallium: remove unused first_level param from st_texture_create()
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index f012b2f1a05..fab9eafc7f0 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -363,7 +363,6 @@ guess_and_alloc_texture(struct st_context *st,
stObj->pt = st_texture_create(st,
gl_target_to_pipe(stObj->base.Target),
st_mesa_format_to_pipe_format(stImage->base.TexFormat->MesaFormat),
- firstLevel,
lastLevel,
width,
height,
@@ -1497,7 +1496,6 @@ st_finalize_texture(GLcontext *ctx,
stObj->pt = st_texture_create(ctx->st,
gl_target_to_pipe(stObj->base.Target),
st_mesa_format_to_pipe_format(firstImage->base.TexFormat->MesaFormat),
- 0, /* first level */
stObj->lastLevel,
firstImage->base.Width,
firstImage->base.Height,