From: Anuj Phogat Date: Mon, 3 Mar 2014 19:40:31 +0000 (-0800) Subject: mesa: Use clear_teximage_fields() in place of _mesa_init_teximage_fields() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f6f92e284cb5e72c1534477c1a947c94cfbe1f7;p=mesa.git 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 --- 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 {