mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Mapster32: fix crash with 'vidmode <bpp>' introduced in r2311.
git-svn-id: https://svn.eduke32.com/eduke32@2315 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1d0cb07167
commit
b8c2d13f23
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ static int32_t osdcmd_vidmode(const osdfuncparm_t *parm)
|
|||
if (!(tmp==8 || tmp==16 || tmp==32))
|
||||
return OSDCMD_SHOWHELP;
|
||||
newbpp = tmp;
|
||||
break;
|
||||
case 4: // fs, res, bpp switch
|
||||
newfullscreen = (Batol(parm->parms[3]) != 0);
|
||||
case 3: // res & bpp switch
|
||||
|
|
Loading…
Reference in a new issue