With Ian's suggestion series:

Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com>

On 07/06/17 06:58, Samuel Pitoiset wrote:
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
  src/mesa/main/pixel.c | 19 +++++--------------
  1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c
index 218e9fdd6b..a3f04d5688 100644
--- a/src/mesa/main/pixel.c
+++ b/src/mesa/main/pixel.c
@@ -598,12 +598,12 @@ _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 +623,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                        *****/
  /**********************************************************************/

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to