-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It is possible that multiple clip planes work together clip everything out. In this case the value of "clipandmask" may be incorrect. This patch fixes...
- --- ~ src/mesa/tnl/t_vb_vertex.c | 2 ++ ~ 1 files changed, 2 insertions(+), 0 deletions(-) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkizjgMACgkQ72r0i/n44hPccgCfWj4PEpkzuIec7FiFZuthh7nX MT8An2J+5/Bi8EdaOTZbyIyDieLpz8qx =4/3V -----END PGP SIGNATURE-----
diff --git a/src/mesa/tnl/t_vb_vertex.c b/src/mesa/tnl/t_vb_vertex.c
index 276305b..7e7b1fd 100644
--- a/src/mesa/tnl/t_vb_vertex.c
+++ b/src/mesa/tnl/t_vb_vertex.c
@@ -79,6 +79,8 @@ static void NAME( GLcontext *ctx, \
GLuint count = clip->count; \
\
for (nr = 0, i = 0 ; i < count ; i++) { \
+ if (clipmask[i] & CLIP_USER_BIT) { \
+ nr++; STRIDE_F(coord, stride); continue; } \
GLfloat dp = coord[0] * a + coord[1] * b; \
if (SZ > 2) dp += coord[2] * c; \
if (SZ > 3) dp += coord[3] * d; else dp += d; \
1269fc87d2a1e3f9118071e3d98afa7f3c8e138c.diff.sig
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
