diff src/video/x11/SDL_x11events.c @ 1792:409974dedf2e

More compile fixes for systems without the DPMS extension
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 07:50:28 +0000
parents 01313c1a2bbe
children c121d94672cb c5c3c772f5aa
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Tue May 09 07:45:12 2006 +0000
+++ b/src/video/x11/SDL_x11events.c	Tue May 09 07:50:28 2006 +0000
@@ -1131,6 +1131,8 @@
 			DPMSInfo(display, &state, dpms);
 		}
 	}
+#else
+	*dpms = 0;
 #endif /* SDL_VIDEO_DRIVER_X11_DPMS */
 }