mesa/formats: only do type and component lookup for uncompressed formats
[mesa.git] / src / mesa / main / texcompress_s3tc.h
index d8d8fbfc165629c9b89f9d9ad5ea0c067c96a6bf..438b71fe33230c7a6b6c8d72147a7f48cd9eaac2 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef TEXCOMPRESS_S3TC_H
 #define TEXCOMPRESS_S3TC_H
 
-#include "compiler.h"
 #include "glheader.h"
 #include "texstore.h"
 #include "texcompress.h"
@@ -49,7 +48,7 @@ extern void
 _mesa_init_texture_s3tc(struct gl_context *ctx);
 
 extern compressed_fetch_func
-_mesa_get_dxt_fetch_func(gl_format format);
+_mesa_get_dxt_fetch_func(mesa_format format);
 
 
 #endif /* TEXCOMPRESS_S3TC_H */