diff options
author | Brian Paul <[email protected]> | 2011-07-14 20:57:34 -0600 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-24 10:43:19 -0700 |
commit | a231d245514b43cf547ccb996b68efc0186e6821 (patch) | |
tree | 12af25c9883c7fec7c54ae21978162359eae2d1a /src/mesa/main/teximage.c | |
parent | c3ad95ed40fca72dbc6c157de2948cb6d074aaac (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 27717cfb0f5..a005d2935fa 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -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; } |