fixing up glConfig.vidWidth/Height in windowed mode when receiving WM_SIZE

This commit is contained in:
myT 2017-12-07 00:36:44 +01:00
parent da62e4c865
commit 21dfece12b

View file

@ -706,5 +706,10 @@ void WIN_UpdateResolution( int width, int height )
{
glInfo.winWidth = width;
glInfo.winHeight = height;
if ( r_fullscreen->integer == 0 )
{
glConfig.vidWidth = width;
glConfig.vidHeight = height;
}
}