intel: Calculate compress_byte in intel_miptree_create.
authorEric Anholt <eric@anholt.net>
Thu, 9 Jun 2011 17:18:36 +0000 (10:18 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Jun 2011 18:17:39 +0000 (11:17 -0700)
commit6dcc398ac0837025cf60b4d6a056fa3b0a16466f
tree35e8ec08b2efd57a5f09b75c708132a02c9f6c61
parent9c5fdbb721147f7304faaa8960f5b64e25a8f673
intel: Calculate compress_byte in intel_miptree_create.

One less argument and thing to get wrong.
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_validate.c