<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gallium: GL_LINE_LOOP broken with more than 512 points"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81174#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gallium: GL_LINE_LOOP broken with more than 512 points"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81174">bug 81174</a>
from <span class="vcard"><a class="email" href="mailto:florianlink@gmail.com" title="Florian Link <florianlink@gmail.com>"> <span class="fn">Florian Link</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>