intel: Fix glCopyPixels when x or y are < 0 in hw coordinates.
authorEric Anholt <eric@anholt.net>
Tue, 24 Jun 2008 21:04:11 +0000 (14:04 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 24 Jun 2008 21:04:11 +0000 (14:04 -0700)
commit5174b85a0cb13b06779ea6fc0a8362c9fe57e2ea
tree7a5ffc22762db7b74d666368ed5b759b04e866b6
parent9a0d773116c6e9d7a63a63644a12170b7486a86e
intel: Fix glCopyPixels when x or y are < 0 in hw coordinates.

Nothing would get drawn as the negative coordinates broke the rectangle
intersection code that used unsigned ints.  Tested with copypix demo and
sliding the copy to the upper left.
src/mesa/drivers/dri/intel/intel_pixel_copy.c