i915: Fix issues with glDrawBuffer(GL_NONE).
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 17 Dec 2007 11:20:56 +0000 (12:20 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 17 Dec 2007 11:20:56 +0000 (12:20 +0100)
commit1e0413230648f5ed18bfbdfcb87bf63473ed91b2
treed90091f6976d01f916a551c3391cd38d8c4165d1
parentd859a60dc3b8aa7d8405c5839a21850c0838f07f
i915: Fix issues with glDrawBuffer(GL_NONE).

Don't dereference NULL renderbuffer pointer, and make sure the software
fallback sticks.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13694 .
src/mesa/drivers/dri/intel/intel_buffers.c