<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - glDrawBuffers(0, NULL) segfaults in _mesa_drawbuffers"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82814#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - glDrawBuffers(0, NULL) segfaults in _mesa_drawbuffers"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82814">bug 82814</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>FWIW I'm fairly sure that it's actually commit
39b40ad144f5f587e505b45048e33a03641ba857
Author: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>
Date: Fri Aug 8 15:01:50 2014 -0600
mesa: fix assertion in _mesa_drawbuffers()
Fixes failed assertion when _mesa_update_draw_buffers() was called
with GL_DRAW_BUFFER == GL_FRONT_AND_BACK. The piglit gl30basic hit
this.
Cc: "10.2" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>>
Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
It changed a if (n == 1) into a if (_mesa_bitcount(...) > 1) without any regard
for n, which might be 0. Should probably be
if (n > 0 && ...) or if (n == 1 && ...). Not entirely sure what the logic is
there though.</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>