DRI2: Don't fault on NULL DrawBuffer
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 11 Apr 2009 21:02:33 +0000 (14:02 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 14 Apr 2009 20:32:52 +0000 (14:32 -0600)
commit153012b29b4f2183a1be6a01eec63e720a192718
treec88bc6c9445aa78ccef2ed4d1c816019e496ab86
parentcafea7528052624c8d3e4cd1c5b26a61bf04d1d0
DRI2: Don't fault on NULL DrawBuffer

It is possible for ctx->DrawBuffer to be NULL, so don't fault when
that happens.  This change is not being committed to master because it
doesn't appear to be necessary there.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cherry picked from mesa_7_4_branch, commit 49e0c74ddd91900fc4effb6d305d56e0563b456d
src/mesa/drivers/dri/intel/intel_buffers.c