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@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Anuj Phogat 2014-03-03 11:40:31 -08:00
parent 063980151e
commit 0f6f92e284

View file

@ -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 {