summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_lines.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-08 08:05:41 -0600
committerBrian Paul <[email protected]>2011-06-08 08:05:41 -0600
commit62811057f41bf7c027da6156a44383266c7f3952 (patch)
treea16a7eb5e62dc05768d05b2d37586d8bbec7aa21 /src/mesa/swrast/s_lines.c
parentf1cdce95f606584a56eabf3b38eea19ff4c75757 (diff)
vbo: remove node->count > 0 test in vbo_save_playback_vertex_list()
See piglit dlist-fdo31590.c test and http://bugs.freedesktop.org/show_bug.cgi?id=31590 In this case we had node->prim_count=1 but node->count==0 because the display list started with glBegin() but had no vertices. The call to glEvalCoord1f() triggered the DO_FALLBACK() path. When replaying the display list, the old condition basically no-op'd the call to vbo_save_playback_vertex_list call(). That led to the invalid operation error being raised in glEnd(). NOTE: This is a candidate for the 7.10 branch.
Diffstat (limited to 'src/mesa/swrast/s_lines.c')
0 files changed, 0 insertions, 0 deletions