mesa: Allow setting GL_TEXTURE_MAX_LEVEL to 0 with GL_TEXTURE_RECTANGLE.
[mesa.git] / src / mesa / main / texcompress_fxt1.c
index 8d37d813fcea6faec6163191f73ae933f3d20fa0..61b01c6b44555d1786acbfed7977150ebfe8e20e 100644 (file)
@@ -1641,7 +1641,7 @@ fetch_rgba_fxt1(const GLubyte *map,
 
 
 compressed_fetch_func
-_mesa_get_fxt_fetch_func(gl_format format)
+_mesa_get_fxt_fetch_func(mesa_format format)
 {
    switch (format) {
    case MESA_FORMAT_RGB_FXT1: