Fixed Visual C++ build
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403494
This commit is contained in:
parent
9116448bf3
commit
e43f6d619e
10 changed files with 404 additions and 399 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue