mesa: update comment for clear_teximage_fields()
authorBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 00:07:18 +0000 (17:07 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Nov 2011 00:16:50 +0000 (17:16 -0700)
src/mesa/main/teximage.c

index c8ea432..56335ad 100644 (file)
@@ -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)