From 0ea239f78d3a445ea451ec9feaa9081992597adb Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 23 Jul 2005 06:45:57 +0000 Subject: [PATCH] (svn r2683) Remove redundant function call propagate return value --- sdl.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sdl.c b/sdl.c index ecd06d97af..964cd68320 100644 --- a/sdl.c +++ b/sdl.c @@ -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)