summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2014-03-03 11:40:31 -0800
committerAnuj Phogat <[email protected]>2014-03-04 11:22:58 -0800
commit0f6f92e284cb5e72c1534477c1a947c94cfbe1f7 (patch)
tree3388233e83d467a0e3abc0d225671009a75274e2 /src/mesa/main
parent063980151e801fca6c314e14c82e9a7b8c04a4d2 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/teximage.c3
1 files changed, 1 insertions, 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 {