Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > b4239f4d9dd96bd1b35c91d7a9b50a80 > files > 15

mesa-7.0.1-11.1mdv2008.0.src.rpm

--- mesa-7.0-git-2007-10-01/src/mesa/swrast_setup/ss_tritmp.h.claudio	2007-09-29 15:01:47.000000000 -0300
+++ mesa-7.0-git-2007-10-01/src/mesa/swrast_setup/ss_tritmp.h	2007-10-01 13:39:58.000000000 -0300
@@ -198,6 +198,8 @@ static void TAG(quadfunc)( GLcontext *ct
 {
    if (IND & SS_UNFILLED_BIT) {
       struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
+       if (!VB->EdgeFlag)
+           return;
       GLubyte ef1 = VB->EdgeFlag[v1];
       GLubyte ef3 = VB->EdgeFlag[v3];
       VB->EdgeFlag[v1] = 0;