summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_tex.h
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-12-13 17:18:50 +0100
committerMaciej Cencora <[email protected]>2009-12-13 17:20:11 +0100
commit8403df33e070cf76af8ae96373d8090e8979c897 (patch)
tree787b4be28f5879e5277f03ea3a8c48c3fc2ff0ac /src/mesa/drivers/dri/r300/r300_tex.h
parent9d8501bf2742519cc958c5f32122e196b64f8278 (diff)
r300: fix regression introduced by da73c1ed
The 0 value is correct for I8 format.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.h b/src/mesa/drivers/dri/r300/r300_tex.h
index beb10072e9c..6ede0fe25c9 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.h
+++ b/src/mesa/drivers/dri/r300/r300_tex.h
@@ -51,6 +51,6 @@ extern GLboolean r300ValidateBuffers(GLcontext * ctx);
extern void r300InitTextureFuncs(struct dd_function_table *functions);
-uint32_t r300TranslateTexFormat(gl_format mesaFormat);
+int32_t r300TranslateTexFormat(gl_format mesaFormat);
#endif /* __r300_TEX_H__ */