summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-01-17 16:31:03 +0000
committerSimon Howard2010-01-17 16:31:03 +0000
commitb95262a16e1561e91b2e60a640c8c9f439d68eb8 (patch)
tree525a63dafd422ca1b51618b58b28a8d6c2645a92
parent27b66df2577becac7e34171c297d8fcc820101a9 (diff)
downloadchocolate-doom-b95262a16e1561e91b2e60a640c8c9f439d68eb8.tar.gz
chocolate-doom-b95262a16e1561e91b2e60a640c8c9f439d68eb8.tar.bz2
chocolate-doom-b95262a16e1561e91b2e60a640c8c9f439d68eb8.zip
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
-rw-r--r--src/i_video.c1
1 files changed, 1 insertions, 0 deletions
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);