]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
eliminated surf->poly_* fields and cleaned up Mod_LoadFaces a great deal
[xonotic/darkplaces.git] / vid_sdl.c
index 0961a199c138f3f255366b492454f55154fa998e..b10b064b7ebf26ad20ae8c82e823dcbb4978eccf 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -240,6 +240,8 @@ static void IN_Init( void )
 {
        // init keyboard
        SDL_EnableUNICODE( SDL_ENABLE );
+       // enable key repeat since everyone expects it
+       SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
 
        // init mouse
        vid_usingmouse = false;