[Mesa-dev] [PATCH 1/1] mesa: Call updated_drawbuffers() if the buffer count changes in _mesa_drawbuffers().

Henri Verbeet hverbeet at gmail.com
Mon Jul 25 16:30:44 PDT 2011

On 26 July 2011 01:02, Eric Anholt <eric at anholt.net> wrote:
> I don't see that, because the while (buf < MaxDrawBuffers) loop would
> notice the change from COLOR1 -> NONE.
That loop doesn't happen because n == 1 for {COLOR0} (as opposed to
{COLOR0, NONE}). Perhaps we should always explicitly set any remaining
buffers to NONE though.

More information about the mesa-dev mailing list