mesa: s/GLuint/gl_format/ in _mesa_compressed_format_to_glenum()
authorBrian Paul <brianp@vmware.com>
Wed, 22 Aug 2012 02:22:27 +0000 (20:22 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 12:18:41 +0000 (06:18 -0600)
No real change here, just use the right type.

src/mesa/main/texcompress.c
src/mesa/main/texcompress.h

index c376b970ededfb0d04ffbefe0c9457de4eea446e..48c472eda633335a557b0646fc0886ce27bc4b6d 100644 (file)
@@ -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
index 2c357068c91fad15b7e571bcf1991e48e595727f..34f4fae7a200352b8011ab3a865419e08ed8d3fd 100644 (file)
@@ -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,