Add minimize command (#4531)
This commit is contained in:
parent
e05c9ad1c2
commit
a56e448850
2 changed files with 15 additions and 0 deletions
|
@ -99,6 +99,19 @@ void GLimp_Shutdown( void )
|
|||
Com_Memset( &glState, 0, sizeof( glState ) );
|
||||
}
|
||||
|
||||
/*
|
||||
===============
|
||||
GLimp_Minimize
|
||||
|
||||
Minimize the game so that user is back at the desktop
|
||||
===============
|
||||
*/
|
||||
void GLimp_Minimize(void)
|
||||
{
|
||||
SDL_WM_IconifyWindow();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
===============
|
||||
GLimp_LogComment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue