diff options
author | Brian <[email protected]> | 2007-09-29 12:01:47 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-29 12:01:47 -0600 |
commit | 44214a98fd66e5dbdbd8caf4dfa81fb2bebcfdaa (patch) | |
tree | 409e47fd73fa2515be54add93a21b399de11cf31 /src/mesa/tnl | |
parent | 9cc6d2310c3c14cab7c49a59baebdef450c6f65a (diff) |
fix VBO-split infinite loop (bug 12164)
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_draw.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index 5b2b2ae5495..ff50d91a165 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -1,9 +1,8 @@ - /* * Mesa 3-D graphics library - * Version: 6.5 + * Version: 7.0.2 * - * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -368,7 +367,7 @@ void _tnl_draw_prims( GLcontext *ctx, _tnl_draw_prims ); return; } - else if (max_index >= max) { + else if (max_index > max) { /* The software TNL pipeline has a fixed amount of storage for * vertices and it is necessary to split incoming drawing commands * if they exceed that limit. |