diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-18 17:45:42 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-18 17:45:42 -0700 |
commit | 6dc7f8309494748f3f31e374a8ab61f5f2ea62ca (patch) | |
tree | c06ac17c19f699467d129e03e0a572aa83cc6a0d | |
parent | ab7c2493555b2c791a280fbf2c02dcfb11c4d9dc (diff) |
mesa: comment for _mesa_format_row_stride()
-rw-r--r-- | src/mesa/main/formats.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 7d0e2d2914..b6597ce9a4 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -839,6 +839,11 @@ _mesa_format_image_size(gl_format format, GLsizei width, +/** + * Return row stride for an image encoded in the given format, with + * the given width. + * \return stride in bytes + */ GLint _mesa_format_row_stride(gl_format format, GLsizei width) { |