]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
fix a minor typo causing a slight misprediction
[xonotic/darkplaces.git] / vid_sdl.c
index c368bbc126f650cd257891f824c096a6479a4d46..a00029bfc6658c8988b5903c49eb1a51a6194750 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -388,7 +388,7 @@ void Sys_SendKeyEvents( void )
                                break;
                        case SDL_KEYDOWN:
                        case SDL_KEYUP:
-                               Key_Event( MapKey( event.key.keysym.sym ), (char)event.key.keysym.unicode, (event.key.state == SDL_PRESSED) );
+                               Key_Event( MapKey( event.key.keysym.sym ), event.key.keysym.unicode, (event.key.state == SDL_PRESSED) );
                                break;
                        case SDL_ACTIVEEVENT:
                                if( event.active.state & SDL_APPACTIVE )
@@ -761,7 +761,6 @@ qboolean VID_InitMode(viddef_mode_t *mode)
 
        gl_platform = "SDL";
        gl_platformextensions = "";
-       gl_videosyncavailable = true;
 
        GL_Init();