st/nine: Do not call ID3DPresent_GetCursorPos for sw cursor
authorAxel Davy <axel.davy@ens.fr>
Sat, 21 Mar 2015 21:23:56 +0000 (22:23 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:45 +0000 (22:21 +0200)
commitdf6f1f77cc63db3e6a7c105f3e7bab246b576eb9
treeb838aa75732c276c3b05c6101cfb4554378bc7ab
parent78b304e2f9f9ad9b97ac8665a44af09567159800
st/nine: Do not call ID3DPresent_GetCursorPos for sw cursor

For sw cursor we do not tell wine the cursor position (the app
tells us directly). We shouldn't use ID3DPresent_GetCursorPos.

device->cursor.pos already contains the coordinates the app
gave us.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: David Heidelberg <david@ixit.cz>
src/gallium/state_trackers/nine/swapchain9.c