mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-08 16:32:45 +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.winWidth = width;
|
||||||
glInfo.winHeight = height;
|
glInfo.winHeight = height;
|
||||||
|
if ( r_fullscreen->integer == 0 )
|
||||||
|
{
|
||||||
|
glConfig.vidWidth = width;
|
||||||
|
glConfig.vidHeight = height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue