[Mesa-dev] [PATCH 2/3] mesa: Use clear_teximage_fields() in place of _mesa_init_teximage_fields()

Anuj Phogat anuj.phogat at gmail.com
Mon Mar 3 18:48:46 PST 2014


This patch makes no functional changes to the code.

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.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 {
-- 
1.8.3.1



More information about the mesa-dev mailing list