nv04-nv40: fix nv##_surface_copy() for flipped
authorPekka Paalanen <pq@iki.fi>
Thu, 5 Feb 2009 17:45:33 +0000 (19:45 +0200)
committerPekka Paalanen <pq@iki.fi>
Thu, 5 Feb 2009 18:35:24 +0000 (20:35 +0200)
commita785a4ae2165c3b58c228f4de4b26b2c0800116c
treed9603d1fb27b18e9a9a95ca569a82b97da5e5653
parent8569860c3d288ad5cd6558c9560fc9b404b64fb4
nv04-nv40: fix nv##_surface_copy() for flipped

If do_flipp is true, it would first do the proper copy, height would
wrap around to unsigned maximum, and then it attempts to do another
copy.

Return after doing the proper copy.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nv04/nv04_surface.c
src/gallium/drivers/nv10/nv10_surface.c
src/gallium/drivers/nv20/nv20_surface.c
src/gallium/drivers/nv30/nv30_surface.c
src/gallium/drivers/nv40/nv40_surface.c