mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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 )
|
if( !vid_fullscreen->value )
|
||||||
{
|
{
|
||||||
Cvar_SetValue( "_window_xpos", (float)event->window.data1 );
|
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;
|
break;
|
||||||
case SDL_WINDOWEVENT_MINIMIZED:
|
case SDL_WINDOWEVENT_MINIMIZED:
|
||||||
|
@ -777,7 +777,7 @@ int GL_GetAttribute( int attr, int *val )
|
|||||||
#if SDL_VERSION_ATLEAST( 2, 0, 4 )
|
#if SDL_VERSION_ATLEAST( 2, 0, 4 )
|
||||||
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_RELEASE_BEHAVIOR );
|
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_RELEASE_BEHAVIOR );
|
||||||
#endif
|
#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_RESET_NOTIFICATION );
|
||||||
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_NO_ERROR );
|
MAP_REF_API_ATTRIBUTE_TO_SDL( GL_CONTEXT_NO_ERROR );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user