From a3dc092ebcb2ed50f4208445120c2ace88d863d1 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 23 Jan 2009 17:32:01 +0000 Subject: (svn r15233) -Fix (r15231): compilation with SDL broken on win32 --- src/video/sdl_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video') diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index d121c1800..380a3a857 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -119,7 +119,7 @@ static void GetVideoModes() if (modes == (void*)-1) { int n = 0; for (uint i = 0; i < lengthof(_default_resolutions); i++) { - if (SDL_VideoModeOK(_default_resolutions[i].width, _default_resolutions[i].height, 8, SDL_FULLSCREEN) != 0) { + if (SDL_CALL SDL_VideoModeOK(_default_resolutions[i].width, _default_resolutions[i].height, 8, SDL_FULLSCREEN) != 0) { _resolutions[n] = _default_resolutions[i]; if (++n == lengthof(_resolutions)) break; } -- cgit v1.2.3-54-g00ecf