mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
front/back determination was wrong
This commit is contained in:
parent
29cfec1581
commit
4959617164
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ static void unfilled_tri( struct draw_stage *stage,
|
|||
struct prim_header *header )
|
||||
{
|
||||
struct unfilled_stage *unfilled = unfilled_stage(stage);
|
||||
unsigned mode = unfilled->mode[header->det < 0.0];
|
||||
unsigned mode = unfilled->mode[header->det >= 0.0];
|
||||
|
||||
switch (mode) {
|
||||
case PIPE_POLYGON_MODE_FILL:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue