]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove wait states for SDL
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Aug 2009 20:26:53 +0000 (20:26 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Aug 2009 20:26:53 +0000 (20:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9114 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index bea2eaa2a0ff81c64479d4996a5b1f6544e11adb..a76fd37e9132ca4e7f3fdcfc4e61570b7bbcfbaf 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -422,7 +422,7 @@ void Sys_SendKeyEvents( void )
                                        // so, let's better queue it for next frame
                                        if(!sdl_needs_restart)
                                        {
-                                               Cbuf_AddText("\nwait; wait; r_restart\n"); // do three "wait"s to not r_restart TOO often during resizing, as that'd be highly annoying
+                                               Cbuf_AddText("\nr_restart\n");
                                                sdl_needs_restart = true;
                                        }
 #endif