[915] Don't attempt our accelerated drawpixels if no color buffer is attached.
authorEric Anholt <eric@anholt.net>
Fri, 15 Feb 2008 21:42:37 +0000 (13:42 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 15 Feb 2008 21:43:29 +0000 (13:43 -0800)
commiteed5e6f40f1728ae5ae346d44ce45ba767bbf24c
tree0dbeda5c3986df8a2b66a98b7a6688467e10523d
parent19420e6c2592e8a31e2ead4bccebc1a9ccca52b1
[915] Don't attempt our accelerated drawpixels if no color buffer is attached.

Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when
we try to emit the color buffer state during setup.
src/mesa/drivers/dri/intel/intel_pixel_draw.c