mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse moving with the allegro video driver
This commit is contained in:
parent
2fe8e89a45
commit
7e7c262167
@ -237,7 +237,7 @@ static bool CreateMainSurface(uint w, uint h)
|
|||||||
bool VideoDriver_Allegro::ClaimMousePointer()
|
bool VideoDriver_Allegro::ClaimMousePointer()
|
||||||
{
|
{
|
||||||
select_mouse_cursor(MOUSE_CURSOR_NONE);
|
select_mouse_cursor(MOUSE_CURSOR_NONE);
|
||||||
show_mouse(_allegro_screen);
|
show_mouse(NULL);
|
||||||
disable_hardware_cursor();
|
disable_hardware_cursor();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user