Skip to content
Snippets Groups Projects
Commit 3f785080 authored by Brian Paul's avatar Brian Paul
Browse files

swrast: fix selection/feedback regression

This fixes a conform selection/feedback regression introduced by commit
8f4d66c5
parent fcf0804c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment