[Mesa-dev] [Bug 81174] Gallium: GL_LINE_LOOP broken with more than 512 points
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 11 01:44:49 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=81174
--- Comment #5 from Florian Link <florianlink at gmail.com> ---
I had a look at the code and it looks like the problem is that
the data is collected in a VBO in file:
vbo_save_api.c
and if the VBO_SAVE_BUFFER_SIZE is exhausted, the buffer is drawn as
a line loop, even if the line loop is not yet finished.
I guess the correct fix would be to only draw a GL_LINE_STRIP for all overflow
related draws, but I guess the problem is where the first vertex for line
closing should be cached, since it will be gone with the first overflow.
I don't understand the code well enough to be able to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140711/785e5f69/attachment.html>
More information about the mesa-dev
mailing list