mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
swrast: fix selection/feedback regression
This fixes a conform selection/feedback regression introduced by commit
8f4d66c5f8
This commit is contained in:
parent
c0633ddabb
commit
a1d3855fb0
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ _swrast_culltriangle( GLcontext *ctx,
|
|||
GLfloat fy = v2->attrib[FRAG_ATTRIB_WPOS][1] - v0->attrib[FRAG_ATTRIB_WPOS][1];
|
||||
GLfloat c = ex*fy-ey*fx;
|
||||
|
||||
if (c * swrast->_BackfaceSign * swrast->_BackfaceCullSign < 0.0F)
|
||||
if (c * swrast->_BackfaceSign * swrast->_BackfaceCullSign <= 0.0F)
|
||||
return GL_FALSE;
|
||||
|
||||
return GL_TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue