st/nine: Allow lock coordinates outside range
authorPatrick Rudolph <siro@das-labor.org>
Mon, 20 Apr 2015 17:26:55 +0000 (19:26 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000 (22:21 +0200)
commit9ba3f83592730e98cb5be0fbc88f1e40ff5471a8
tree2e368d07afa87577c9d5732cb9d87e98f20c9edf
parentbb1c2c2aa3b15ee1fdf8b8085cc1ca9f8ef04ed9
st/nine: Allow lock coordinates outside range

This fixes wine test device.c test_lockrect_invalid()

Mimic WindowsXp behaviour and allow negative values in the rectangle passed.
Add comment to point out behaviour used.

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/surface9.c