Merge pull request #310 from em92/sceenlooping-bugfix

ignore window resize event on fullscreen
This commit is contained in:
James Canete 2017-09-10 10:54:09 -07:00 committed by GitHub
commit 213b15a9db

View file

@ -1121,6 +1121,12 @@ static void IN_ProcessEvents( void )
width = e.window.data1;
height = e.window.data2;
// ignore this event on fullscreen
if( cls.glconfig.isFullscreen )
{
break;
}
// check if size actually changed
if( cls.glconfig.vidWidth == width && cls.glconfig.vidHeight == height )
{