Mesa (master): mesa: update comment for clear_teximage_fields()
Brian Paul
brianp at kemper.freedesktop.org
Wed Nov 23 00:23:30 UTC 2011
Module: Mesa
Branch: master
Commit: fc144728c7e33e53f7a4a4486eb81fddff156758
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc144728c7e33e53f7a4a4486eb81fddff156758
Author: Brian Paul <brianp at vmware.com>
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)
More information about the mesa-commit
mailing list