diff options
author | Brian Paul <[email protected]> | 2009-05-11 10:02:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-11 10:02:27 -0600 |
commit | 7c3d7353d7b46f5ce2b411f08f9e4c158f1610e0 (patch) | |
tree | b469cbca326df3ebcee544e32c6a8a321b1b0e05 | |
parent | 6697311b21a65dbea9236413a3afc759a592afd7 (diff) |
mesa: updated comments for _mesa_generate_mipmap()
-rw-r--r-- | src/mesa/main/mipmap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index bc8658beffe..47db2acdf06 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -1478,9 +1478,12 @@ next_mipmap_level_size(GLenum target, GLint border, /** - * For GL_SGIX_generate_mipmap: - * Generate a complete set of mipmaps from texObj's base-level image. + * Automatic mipmap generation. + * This is the fallback/default function for ctx->Driver.GenerateMipmap(). + * Generate a complete set of mipmaps from texObj's BaseLevel image. * Stop at texObj's MaxLevel or when we get to the 1x1 texture. + * For cube maps, target will be one of + * GL_TEXTURE_CUBE_MAP_POSITIVE/NEGATIVE_X/Y/Z; never GL_TEXTURE_CUBE_MAP. */ void _mesa_generate_mipmap(GLcontext *ctx, GLenum target, |