mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixing up glConfig.vidWidth/Height in windowed mode when receiving WM_SIZE
This commit is contained in:
parent
da62e4c865
commit
21dfece12b
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue