From: <bug...@fr...> - 2009-12-20 16:49:19
|
http://bugs.freedesktop.org/show_bug.cgi?id=25290 --- Comment #3 from Rafael Monica <mo...@gm...> 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. |