Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
struct intel_texture_image *intel_image,
GLbitfield mode)
{
- int level = intel_image->base.Base.Level;
- int face = intel_image->base.Base.Face;
+ int level;
+ int face;
struct intel_mipmap_tree *mt;
unsigned int x, y;
if (!intel_image || !intel_image->mt)
return;
+ level = intel_image->base.Base.Level;
+ face = intel_image->base.Base.Face;
mt = intel_image->mt;
if (mt->target == GL_TEXTURE_3D ||