[Mesa-dev] [PATCH] mesa: use clear_teximage_fields() in another place
Brian Paul
brianp at vmware.com
Tue Mar 4 14:18:01 PST 2014
Similar to Anuj's change 0f6f92e284cb5.
---
src/mesa/main/teximage.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index a6c3581..4346c31 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -4487,8 +4487,7 @@ teximagemultisample(GLuint dims, GLenum target, GLsizei samples,
* we're allowed to just leave this in whatever state we
* like, but being tidy is good.
*/
- _mesa_init_teximage_fields(ctx, texImage,
- 0, 0, 0, 0, GL_NONE, MESA_FORMAT_NONE);
+ clear_teximage_fields(texImage);
}
}
--
1.7.10.4
More information about the mesa-dev
mailing list