commit b95262a16e1561e91b2e60a640c8c9f439d68eb8
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jan 17 16:31:03 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jan 17 16:31:03 2010 +0000
Restore the original cursor when shutting down video code, this should
hopefully fix the problem with the mouse cursor disappearing when
exiting on Win9x (thanks Janizdreg).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1819
---
src/i_video.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/i_video.c b/src/i_video.c
index 481ee0ea..6936532d 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -402,6 +402,7 @@ void I_ShutdownGraphics(void)
{
if (initialized)
{
+ SDL_SetCursor(cursors[1]);
SDL_ShowCursor(1);
SDL_WM_GrabInput(SDL_GRAB_OFF);