Fixed Visual C++ build

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403494
This commit is contained in:
Sam Lantinga 2009-01-12 08:46:28 +00:00
parent 9116448bf3
commit e43f6d619e
10 changed files with 404 additions and 399 deletions

View file

@ -578,8 +578,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
/* Don't start the screensaver or blank the monitor in fullscreen apps */
if ((wParam & 0xFFF0) == SC_SCREENSAVE ||
(wParam & 0xFFF0) == SC_MONITORPOWER) {
SDL_VideoData *videodata = data->videodata;
if (videodata->suspend_screensaver) {
if (SDL_GetVideoDevice()->suspend_screensaver) {
return (0);
}
}