diff options
author | rubidium <rubidium@openttd.org> | 2011-12-11 07:26:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-11 07:26:13 +0000 |
commit | 7e7c26216783533d027d87f20234f3e94aae5cfb (patch) | |
tree | b41accd763a5a1e80c1418178a966bf3852c29fe /src/video | |
parent | 2fe8e89a45c90a1bced09e8fbcfc7e5b526d54ed (diff) | |
download | openttd-7e7c26216783533d027d87f20234f3e94aae5cfb.tar.xz |
(svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse moving with the allegro video driver
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/allegro_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp index a8d45b739..e225b05fd 100644 --- a/src/video/allegro_v.cpp +++ b/src/video/allegro_v.cpp @@ -237,7 +237,7 @@ static bool CreateMainSurface(uint w, uint h) bool VideoDriver_Allegro::ClaimMousePointer() { select_mouse_cursor(MOUSE_CURSOR_NONE); - show_mouse(_allegro_screen); + show_mouse(NULL); disable_hardware_cursor(); return true; } |