intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 2 Jan 2010 02:15:04 +0000 (21:15 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jan 2010 16:48:01 +0000 (11:48 -0500)
commitee49ac8742c52696cba8cc5ca50459f8a13153a1
treeecafb72353ecf759f2e0db5e00ba06af04e33567
parent01dc463e5d5513e059eea601710cd4babe02610d
intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()

This function was using intel->depth_region, which is the static region
for the DRI1 depth buffer.  This code has always been broken with DRI2
but I suspect it doesn't get excersized much.
src/mesa/drivers/dri/intel/intel_pixel_copy.c