diff options
author | tron <tron@openttd.org> | 2005-07-23 06:45:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-23 06:45:57 +0000 |
commit | 0ea239f78d3a445ea451ec9feaa9081992597adb (patch) | |
tree | d26abd3cad1bbca5bc39dd898c29f93f44a948f3 /sdl.c | |
parent | c1af00e24574e26bc87e2f117c8fd6de67be40ec (diff) | |
download | openttd-0ea239f78d3a445ea451ec9feaa9081992597adb.tar.xz |
(svn r2683) Remove redundant function call propagate return value
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -628,13 +628,7 @@ static int SdlVideoMainLoop(void) static bool SdlVideoChangeRes(int w, int h) { - /* See if the mode is available. Ignore return value - * since we will get back a valid resolution anyways. Either exactly - * the same one, or one clamped to the closest available one */ - GetAvailableVideoMode(&w, &h); - - CreateMainSurface(w, h); - return true; + return CreateMainSurface(w, h); } static void SdlVideoFullScreen(bool full_screen) |