diff src/video/windib/SDL_dibvideo.h @ 3981:b0d021cf41b6 SDL-1.2

windib target can now control screensaver with SDL_VIDEO_ALLOW_SCREENSAVER. Fixes Bugzilla #415.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 26 Jun 2007 20:02:40 +0000
parents 8dfa9a6d69a5
children c75679dce60c
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.h	Tue Jun 26 00:57:09 2007 +0000
+++ b/src/video/windib/SDL_dibvideo.h	Tue Jun 26 20:02:40 2007 +0000
@@ -41,6 +41,8 @@
     HBITMAP screen_bmp;
     HPALETTE screen_pal;
 
+    int allow_screensaver;
+
 #define NUM_MODELISTS	4		/* 8, 16, 24, and 32 bits-per-pixel */
     int SDL_nummodes[NUM_MODELISTS];
     SDL_Rect **SDL_modelist[NUM_MODELISTS];