mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: inline update_image_transfer_state() into _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>
This commit is contained in:
parent
51854def8a
commit
8614f31be2
1 changed files with 6 additions and 14 deletions
|
|
@ -598,12 +598,13 @@ _mesa_PixelTransferi( GLenum pname, GLint param )
|
|||
/***** State Management *****/
|
||||
/**********************************************************************/
|
||||
|
||||
/*
|
||||
* Return a bitmask of IMAGE_*_BIT flags which to indicate which
|
||||
* pixel transfer operations are enabled.
|
||||
|
||||
/**
|
||||
* Update mesa pixel transfer derived state to indicate which operations are
|
||||
* enabled.
|
||||
*/
|
||||
static void
|
||||
update_image_transfer_state(struct gl_context *ctx)
|
||||
void
|
||||
_mesa_update_pixel( struct gl_context *ctx )
|
||||
{
|
||||
GLuint mask = 0;
|
||||
|
||||
|
|
@ -623,15 +624,6 @@ update_image_transfer_state(struct gl_context *ctx)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Update mesa pixel transfer derived state.
|
||||
*/
|
||||
void _mesa_update_pixel( struct gl_context *ctx )
|
||||
{
|
||||
update_image_transfer_state(ctx);
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************/
|
||||
/***** Initialization *****/
|
||||
/**********************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue