http://bugs.freedesktop.org/show_bug.cgi?id=8056





------- Comment #28 from [EMAIL PROTECTED]  2007-09-09 07:03 PST -------
For me nexuiz from Fedora 7 with new patch works ok.

Small fix for small mipmap textures:

diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c
b/src/mesa/drivers/dri/r300/r300_texstate.c
index ad31e76..9c4fff9 100644
--- a/src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/src/mesa/drivers/dri/r300/r300_texstate.c
@@ -345,7 +345,7 @@ static void r300SetTexImages(r300ContextPtr rmesa,
                t->image[0][i].dst_offset = curOffset;

                /* set blit pitch - used for pitch texture register too */      
-               t->image[0][i].dst_pitch = MAX2(t->image[0][i].width *
t->transfer_size, 16);
+               t->image[0][i].dst_pitch = MAX2(t->image[0][i].width *
t->transfer_size, ((i == 0) ? 16 : 8));

                if (RADEON_DEBUG & DEBUG_TEXTURE)
                        fprintf(stderr,


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to