From e09c843c137d91a20e5c705c6c4b8a75579d8232 Mon Sep 17 00:00:00 2001 From: Vladimir Dergachev Date: Thu, 6 Jan 2005 04:39:51 +0000 Subject: Turns out the kfountain.kss (as well as lesson19) had a bug - the size was set wrong. Fixed. --- src/mesa/drivers/dri/r300/r300_texstate.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c') diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c index 55d97f304e2..ae0cff6a1a7 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -176,6 +176,10 @@ static void r300SetTexImages(r300ContextPtr rmesa, } assert(size > 0); + if(0) + fprintf(stderr, "w=%d h=%d d=%d tb=%d\n", texImage->Width, texImage->Height, + texImage->Depth, texImage->TexFormat->TexelBytes); + /* Align to 32-byte offset. It is faster to do this unconditionally * (no branch penalty). */ -- cgit v1.2.3