From: Brian Paul Date: Wed, 22 Aug 2012 02:22:27 +0000 (-0600) Subject: mesa: s/GLuint/gl_format/ in _mesa_compressed_format_to_glenum() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aab06dc0f0bf295abe213021b79ff65d70a4f4c0;p=mesa.git mesa: s/GLuint/gl_format/ in _mesa_compressed_format_to_glenum() No real change here, just use the right type. --- diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index c376b970ede..48c472eda63 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -372,7 +372,7 @@ _mesa_glenum_to_compressed_format(GLenum format) * internal format unchanged. */ GLenum -_mesa_compressed_format_to_glenum(struct gl_context *ctx, GLuint mesaFormat) +_mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat) { switch (mesaFormat) { #if FEATURE_texture_fxt1 diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h index 2c357068c91..34f4fae7a20 100644 --- a/src/mesa/main/texcompress.h +++ b/src/mesa/main/texcompress.h @@ -43,7 +43,7 @@ extern gl_format _mesa_glenum_to_compressed_format(GLenum format); extern GLenum -_mesa_compressed_format_to_glenum(struct gl_context *ctx, GLuint mesaFormat); +_mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat); extern GLubyte * _mesa_compressed_image_address(GLint col, GLint row, GLint img,