sdl: fix typos

This commit is contained in:
Alibek Omarov 2019-06-29 23:25:00 +03:00
parent c92f8f71a7
commit 413882a8d5
2 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ static void SDLash_EventFilter( SDL_Event *event )
if( !vid_fullscreen->value )
{
Cvar_SetValue( "_window_xpos", (float)event->window.data1 );
Cvar_SetValue( "_window_ypos", (float)event->window.data1 );
Cvar_SetValue( "_window_ypos", (float)event->window.data2 );
}
break;
case SDL_WINDOWEVENT_MINIMIZED:

View File

@ -777,7 +777,7 @@ int GL_GetAttribute( int attr, int *val )
#if SDL_VERSION_ATLEAST( 2, 0, 4 )
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_RELEASE_BEHAVIOR );
#endif
#if SDL_VERISON_ATLEAST( 2, 0, 6 )
#if SDL_VERSION_ATLEAST( 2, 0, 6 )
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_RESET_NOTIFICATION );
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_NO_ERROR );
#endif