changeset 18641:228730e55fb0 draft

(svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse moving with the allegro video driver
author rubidium <rubidium@openttd.org>
date Sun, 11 Dec 2011 07:26:13 +0000
parents ce293485d2fe
children c033dd088270
files src/video/allegro_v.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -237,7 +237,7 @@
 bool VideoDriver_Allegro::ClaimMousePointer()
 {
 	select_mouse_cursor(MOUSE_CURSOR_NONE);
-	show_mouse(_allegro_screen);
+	show_mouse(NULL);
 	disable_hardware_cursor();
 	return true;
 }