projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7dfbb
)
intel: Clean up some extra struct indirection in finalize.
author
Eric Anholt
<eric@anholt.net>
Wed, 4 Nov 2009 23:11:02 +0000
(15:11 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 6 Nov 2009 19:37:32 +0000
(11:37 -0800)
src/mesa/drivers/dri/intel/intel_tex_validate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_validate.c
b/src/mesa/drivers/dri/intel/intel_tex_validate.c
index df93b3b7598824052e9ba2bda1fbb38c27feea84..dbef2886159313c1fefe3356c0d6fb0816c95ef4 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_validate.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_validate.c
@@
-138,8
+138,7
@@
intel_finalize_mipmap_tree(struct intel_context *intel, GLuint unit)
/* What levels must the tree include at a minimum?
*/
intel_calculate_first_last_level(intel, intelObj);
- firstImage =
- intel_texture_image(intelObj->base.Image[0][intelObj->firstLevel]);
+ firstImage = intel_texture_image(tObj->Image[0][intelObj->firstLevel]);
/* Fallback case:
*/