summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-18 10:27:31 -0600
committerBrian Paul <brianp@vmware.com>2009-05-18 10:27:31 -0600
commitadabd0e81e287cd5dac60fa63841d8b096d10d5f (patch)
tree25d2ab7d6c5039f004356f94737c6a9ff8820023 /src/mesa
parent30320f0afb3ae4409adab662d65475cf9665bc19 (diff)
mesa: comments for _mesa_generate_mipmap_level()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mipmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index bc8658beff..7a719745fc 100644
--- a/src/mesa/main/mipmap.c
+++ b/src/mesa/main/mipmap.c
@@ -1370,6 +1370,9 @@ make_2d_stack_mipmap(GLenum datatype, GLuint comps, GLint border,
/**
* Down-sample a texture image to produce the next lower mipmap level.
+ * \param comps components per texel (1, 2, 3 or 4)
+ * \param srcRowStride stride between source rows, in texels
+ * \param dstRowStride stride between destination rows, in texels
*/
void
_mesa_generate_mipmap_level(GLenum target,