From 0f6f92e284cb5e72c1534477c1a947c94cfbe1f7 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Mon, 3 Mar 2014 11:40:31 -0800 Subject: [PATCH] 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 Reviewed-by: Brian Paul --- 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 0519d221fe6..1cd6aded721 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 { -- 2.30.2