i915g: Fix copy region code
authorStéphane Marchesin <marcheu@chromium.org>
Wed, 28 May 2014 17:29:40 +0000 (10:29 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 29 May 2014 02:53:51 +0000 (19:53 -0700)
commit9e59c91a73903638eb5b807950d59fdf2dd981ce
tree08b0fdd4edef13a009a1c464d1cd703d427fbf97
parentfc7e7cfabc9f9453e21fdacb9c84d3c7a325bbd4
i915g: Fix copy region code

This fixes a few issues with it, also cleans up the code.
src/gallium/drivers/i915/i915_surface.c