Mesa (master): mesa: Use clear_teximage_fields() in place of _mesa_init_teximage_fields()
Anuj Phogat
aphogat at kemper.freedesktop.org
Tue Mar 4 19:34:24 UTC 2014
Module: Mesa
Branch: master
Commit: 0f6f92e284cb5e72c1534477c1a947c94cfbe1f7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f6f92e284cb5e72c1534477c1a947c94cfbe1f7
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Mon Mar 3 11:40:31 2014 -0800
mesa: Use clear_teximage_fields() in place of _mesa_init_teximage_fields()
This patch makes no functional changes to the code.
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
---
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 0519d22..1cd6ade 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -4427,8 +4427,7 @@ teximagemultisample(GLuint dims, GLenum target, GLsizei samples,
}
else {
/* clear all image fields */
- _mesa_init_teximage_fields(ctx, texImage,
- 0, 0, 0, 0, GL_NONE, MESA_FORMAT_NONE);
+ clear_teximage_fields(texImage);
}
}
else {
More information about the mesa-commit
mailing list