mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
ignore window resize event on fullscreen
This commit is contained in:
parent
5f743bdb22
commit
e0a367451f
1 changed files with 6 additions and 0 deletions
|
@ -1121,6 +1121,12 @@ static void IN_ProcessEvents( void )
|
||||||
width = e.window.data1;
|
width = e.window.data1;
|
||||||
height = e.window.data2;
|
height = e.window.data2;
|
||||||
|
|
||||||
|
// ignore this event on fullscreen
|
||||||
|
if( cls.glconfig.isFullscreen )
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// check if size actually changed
|
// check if size actually changed
|
||||||
if( cls.glconfig.vidWidth == width && cls.glconfig.vidHeight == height )
|
if( cls.glconfig.vidWidth == width && cls.glconfig.vidHeight == height )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue