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 <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
/**
* Update mesa pixel transfer derived state.
*/
-void _mesa_update_pixel( struct gl_context *ctx, GLuint new_state )
+void _mesa_update_pixel( struct gl_context *ctx )
{
- if (new_state & _NEW_PIXEL)
- update_image_transfer_state(ctx);
+ update_image_transfer_state(ctx);
}
_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 );
_mesa_update_stencil( ctx );
if (new_state & _NEW_PIXEL)
- _mesa_update_pixel( ctx, new_state );
+ _mesa_update_pixel( ctx );
/* ctx->_NeedEyeCoords is now up to date.
*