diff options
author | Vladimir Dergachev <[email protected]> | 2005-01-06 04:39:51 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-01-06 04:39:51 +0000 |
commit | e09c843c137d91a20e5c705c6c4b8a75579d8232 (patch) | |
tree | 601fc2c084816670bef9a04f7cd9e54d381adda2 /src/mesa/drivers/dri/r300/r300_texstate.c | |
parent | 91538b44322ca8970f8423395ff37cb1c38e8c32 (diff) |
Turns out the kfountain.kss (as well as lesson19) had a bug - the size was set wrong. Fixed.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 4 |
1 files changed, 4 insertions, 0 deletions
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). */ |