intel: fix mapping of malloc'd renderbuffers
authorBrian Paul <brianp@vmware.com>
Sat, 7 Jan 2012 22:05:35 +0000 (15:05 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 20:49:15 +0000 (13:49 -0700)
commit6dbdc0395698de929e23b4ec1ab399e64ecfd264
tree72e71dd330aa38804dbaa1c14095a3f5c042595c
parent9be6654c1f75bc402c807ec0caccebde032afa59
intel: fix mapping of malloc'd renderbuffers

This fixes accum buffer operations.  The accumulation buffer is the
only malloc-based renderbuffer for the intel drivers.

v2: apply x/y offset to returned pointer

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_fbo.c