[AD] Hardware cursor buglet |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
The attached patch (already applied) fixes a small bug where hardware
cursors would become disabled if show_mouse() was used more than once
without show_mouse(NULL) in between.
Evert
Index: src/mouse.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/mouse.c,v
retrieving revision 1.35
diff -u -r1.35 mouse.c
--- src/mouse.c 29 Mar 2005 22:02:57 -0000 1.35
+++ src/mouse.c 10 Apr 2005 13:50:07 -0000
@@ -598,6 +598,7 @@
if (gfx_capabilities & GFX_HW_CURSOR) {
gfx_driver->hide_mouse();
gfx_capabilities &= ~(GFX_HW_CURSOR|GFX_SYSTEM_CURSOR);
+ hw_cursor_dirty = TRUE;
}
else
draw_mouse(TRUE, FALSE);