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





--- Comment #3 from Rafael Monica <monr...@gmail.com>  2009-12-20 08:49:05 PST 
---
I think I found the problem. The hardware already makes the right decision
based on the FACE_bit. This code in r700UpdatePolygonMode actually reverses it
when using clockwise winding:

if (ctx->Polygon.FrontFace == GL_CCW) {
    f = ctx->Polygon.FrontMode;
    b = ctx->Polygon.BackMode;
} else {
    f = ctx->Polygon.BackMode;
    b = ctx->Polygon.FrontMode;
}


Changing it to:

f = ctx->Polygon.FrontMode;
b = ctx->Polygon.BackMode;

seems to fix it and render everything correctly.


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

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to