diff options
author | Brian Paul <[email protected]> | 2011-11-22 17:07:18 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-22 17:16:50 -0700 |
commit | fc144728c7e33e53f7a4a4486eb81fddff156758 (patch) | |
tree | 5392ee32af80c1875cbfc1a5f8b1e0f93632069b | |
parent | 12dd5dedf5675eacbbf781d5c45e395fded90e8c (diff) |
mesa: update comment for clear_teximage_fields()
-rw-r--r-- | 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 c8ea4329fe4..56335ad100b 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) |