[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 28 12:48:36 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60518

--- Comment #3 from core13 at gmx.net ---
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);

-- 
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/20130528/a2901665/attachment.html>


More information about the mesa-dev mailing list