diff options
author | Brian Paul <[email protected]> | 2009-09-27 21:32:12 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-27 21:32:12 -0600 |
commit | 729ff875f4c951798d2372940608201a6b195ca6 (patch) | |
tree | 4cb9f130a259210883721ec99dfef5153eb7dd5e /src/mesa/state_tracker | |
parent | bd00a7fa4bb4bb71cd2eaf7ebb6749a709b5fdb9 (diff) |
mesa: change _mesa_format_to_type_and_comps() format parameter type
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_gen_mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c index 58f69336523..63a6956a7a9 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.c +++ b/src/mesa/state_tracker/st_gen_mipmap.c @@ -115,7 +115,7 @@ fallback_generate_mipmap(GLcontext *ctx, GLenum target, assert(target != GL_TEXTURE_3D); /* not done yet */ - _mesa_format_to_type_and_comps(texObj->Image[face][baseLevel]->TexFormat, + _mesa_format_to_type_and_comps(texObj->Image[face][baseLevel]->TexFormat->MesaFormat, &datatype, &comps); for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { |