diff options
author | Brian Paul <[email protected]> | 2011-12-30 16:39:24 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-12-30 16:42:27 -0700 |
commit | 99fbf7ce341c346631d11395c792a0589c5035dd (patch) | |
tree | d9473bb59090569b7478a52c02e7f1029526be7b /src/mesa/state_tracker | |
parent | bed4c7ea5ea65ae4d591c5f9fb6d0ab24ba268ee (diff) |
st/mesa: remove stImage->base.Face/Level assignments in st_TexImage()
This fixes a regresssion (broken cube maps) caused by the
ctx->Driver.TexImage parameter simplification commit. The target var
is always GL_TEXTURE_CUBE_MAP at this point so the Face field was always
getting set to zero.
These field assignments aren't needed anyway since core Mesa sets them.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index ecd21ad9200..cf9d068e36f 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -544,9 +544,6 @@ st_TexImage(struct gl_context * ctx, assert(texImage->Height == height); assert(texImage->Depth == depth); - stImage->base.Face = _mesa_tex_target_to_face(target); - stImage->base.Level = level; - /* Release the reference to a potentially orphaned buffer. * Release any old malloced memory. */ |