mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- disable size checking in windowed mode for vid_setmode, allowing it to set arbitrary sizes.
This commit is contained in:
parent
fd20e1d78f
commit
4b63092c7a
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,7 @@ FRenderer *Renderer;
|
|||
|
||||
IMPLEMENT_CLASS(DCanvas, true, false)
|
||||
IMPLEMENT_CLASS(DFrameBuffer, true, false)
|
||||
EXTERN_CVAR (Bool, fullscreen)
|
||||
|
||||
#if defined(_DEBUG) && defined(_M_IX86) && !defined(__MINGW32__)
|
||||
#define DBGBREAK { __asm int 3 }
|
||||
|
@ -1489,6 +1490,9 @@ CCMD (vid_setmode)
|
|||
goodmode = true;
|
||||
}
|
||||
|
||||
if (!fullscreen)
|
||||
goodmode = true;
|
||||
|
||||
if (goodmode)
|
||||
{
|
||||
// The actual change of resolution will take place
|
||||
|
|
Loading…
Reference in a new issue