From 91538b44322ca8970f8423395ff37cb1c38e8c32 Mon Sep 17 00:00:00 2001 From: Vladimir Dergachev Date: Thu, 6 Jan 2005 04:02:52 +0000 Subject: Add texture format to get lesson19 working again. --- src/mesa/drivers/dri/r300/r300_state.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/mesa/drivers/dri/r300') diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 63ec0d54a6..b094dc29a7 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; } } -- cgit v1.2.3