intel: Fix locking when doing intel_region_cow().
authorEric Anholt <eric@anholt.net>
Thu, 26 Jun 2008 22:34:27 +0000 (15:34 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Jun 2008 22:34:27 +0000 (15:34 -0700)
commitf059a3302260075e9cfd35649dc3877726291d8d
tree06651f294e4a6d6d9e974f7cc5805e728e0593aa
parent93f701bc3619864ac6f067d37212e96545a57e16
intel: Fix locking when doing intel_region_cow().

This was broken in the merge of 965 blit support.  It tried to lock only
when things were already locked.
src/mesa/drivers/dri/intel/intel_regions.c