From 51854def8a31f5d23fa98aeafbd5acc72e08b3a4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 6 Jun 2017 22:58:12 +0200 Subject: mesa: remove useless check in _mesa_update_pixel() The only caller is _mesa_update_state_locked() which already checks if _NEW_PIXEL is set before calling _mesa_update_pixel(). Signed-off-by: Samuel Pitoiset Reviewed-by: Ian Romanick Reviewed-by: Timothy Arceri --- src/mesa/main/pixel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/pixel.h') diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h index fd1782e1bcb..17e7376281f 100644 --- a/src/mesa/main/pixel.h +++ b/src/mesa/main/pixel.h @@ -64,7 +64,7 @@ void GLAPIENTRY _mesa_PixelTransferi( GLenum pname, GLint param ); extern void -_mesa_update_pixel( struct gl_context *ctx, GLuint newstate ); +_mesa_update_pixel( struct gl_context *ctx ); extern void _mesa_init_pixel( struct gl_context * ctx ); -- cgit v1.2.3