Module: Mesa Branch: master Commit: fc144728c7e33e53f7a4a4486eb81fddff156758 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc144728c7e33e53f7a4a4486eb81fddff156758
Author: Brian Paul <[email protected]> Date: Tue Nov 22 17:07:18 2011 -0700 mesa: update comment for clear_teximage_fields() --- src/mesa/main/teximage.c | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index c8ea432..56335ad 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1021,15 +1021,8 @@ make_null_texture(GLint width, GLint height, GLint depth, GLenum format) /** - * Reset the fields of a gl_texture_image struct to zero. - * - * \param img texture image structure. - * - * This is called when a proxy texture test fails, we set all the - * image members (except DriverData) to zero. - * It's also used in glTexImage[123]D as a safeguard to be sure all - * required fields get initialized properly by the Driver.TexImage[123]D - * functions. + * Set the size and format-related fields of a gl_texture_image struct + * to zero. This is used when a proxy texture test fails. */ static void clear_teximage_fields(struct gl_texture_image *img) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
