intel: Fix accum buffer mapping since the swrast rework.
authorEric Anholt <eric@anholt.net>
Tue, 24 Jan 2012 23:52:52 +0000 (15:52 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 19:28:16 +0000 (11:28 -0800)
commit42e9936ce6bcac9f863b2f85978489e4f804e927
treef52a1be049fdd126daa5b54943a8fea65ea37036
parent3d8c27f882b852ada86aac99a54fdb57d98a79ac
intel: Fix accum buffer mapping since the swrast rework.

A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted
in the clear-accum test.  Just look at the swrast renderbuffer pointer
for handling swrast rbs.
src/mesa/drivers/dri/intel/intel_fbo.c