mesa: add gl_texture_image::Face, Level fields

Several drivers have these fields in their subclasses of gl_texture_image.
They'll be useful for core Mesa too...

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Brian Paul
2011-07-14 20:57:34 -06:00
committed by Eric Anholt
parent c3ad95ed40
commit a231d24551
2 changed files with 5 additions and 0 deletions

View File

@@ -571,6 +571,8 @@ _mesa_set_tex_image(struct gl_texture_object *tObj,
/* Set the 'back' pointer */
texImage->TexObject = tObj;
texImage->Level = level;
texImage->Face = face;
}