mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
culling was inverted
This commit is contained in:
parent
62f5f18b3e
commit
9e94e9b798
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ static void cull_tri( struct prim_stage *stage,
|
|||
|
||||
if (header->det != 0) {
|
||||
/* non-zero area */
|
||||
GLuint mode = (header->det < 0) ? PIPE_WINDING_CW : PIPE_WINDING_CCW;
|
||||
GLuint mode = (header->det > 0) ? PIPE_WINDING_CW : PIPE_WINDING_CCW;
|
||||
|
||||
if ((mode & cull_stage(stage)->mode) == 0) {
|
||||
/* triangle is not culled, pass to next stage */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue