diff options
author | Vladimir Dergachev <[email protected]> | 2005-01-06 04:02:52 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-01-06 04:02:52 +0000 |
commit | 91538b44322ca8970f8423395ff37cb1c38e8c32 (patch) | |
tree | 84b69a35cc97a7cb02bc1a5c225cf930e503c6e8 /src/mesa | |
parent | dbc125eedeb79a218031c51f2eacbe0e4c58278a (diff) |
Add texture format to get lesson19 working again.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 63ec0d54a6d..b094dc29a7b 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -816,19 +816,20 @@ static GLuint translate_texture_format(GLcontext *ctx, GLint tex_unit, GLuint fo )){ case FORMAT_HASH(0, 1, 0x2100, 0, 1, 0x2100, 0x00088047): return 0x1a0c; - case FORMAT_HASH(0, 1, 0x2100, 0, 4, 0x1e01, 0x00088047): - return 0x53a0c; case FORMAT_HASH(0, 1, 0x2100, 0, 1, 0x2100, 0x00077047): return 0x4ba0c; case FORMAT_HASH(0, 1, 0x2100, 0, 1, 0x2100, 0x00055047): return 0x53a0c; + case FORMAT_HASH(0, 1, 0x2100, 0, 4, 0x1e01, 0x00088047): + return 0x53a0c; + case FORMAT_HASH(0, 1, 0x2100, 0, 4, 0x1e01, 0x00055047): + return 0x53a0c; default: { static int warn_once=1; if(warn_once){ - fprintf(stderr, "%s:%s Do not know how to translate texture format %08x - help me !\n", - __FILE__, __FUNCTION__, - format); + fprintf(stderr, "%s:%s Do not know how to translate texture format - help me !\n", + __FILE__, __FUNCTION__); warn_once=0; } } |