<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - glDrawElements segfault when compiled into display list"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60518#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - glDrawElements segfault when compiled into display list"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60518">bug 60518</a>
from <span class="vcard"><a class="email" href="mailto:core13@gmx.net" title="core13@gmx.net">core13@gmx.net</a>
</span></b>
<pre>I've had another look at the trace created with apitrace. And it looks like the
issue is caused by glGenerateMipmap(GL_TEXTURE_2D). It seems to use the first
and second vertex attribute array, but doesn't disable them afterwards.
So the revised workaround is disable them explicitly after each
glGenerateMipmap call:
glGenerateMipmap(GL_TEXTURE_2D);
// mesa bugfix
glDisableVertexAttribArray(0);
glDisableVertexAttribArray(1);</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>