mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 21:50:59 +01:00
sdl: fix typos
This commit is contained in:
parent
c92f8f71a7
commit
413882a8d5
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user