mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
engine.c: in qsetmodeany(), call initsmost() after setting xdim and ydim.
This makes sure that the engine arrays have sufficient space allocated for usage in Mapster32's 2D mode, for example from drawmapview(). git-svn-id: https://svn.eduke32.com/eduke32@4938 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
038a9f8eb6
commit
038bc1517b
1 changed files with 2 additions and 0 deletions
|
@ -16539,6 +16539,8 @@ void qsetmodeany(int32_t daxdim, int32_t daydim)
|
|||
xdim = xres;
|
||||
ydim = yres;
|
||||
|
||||
initsmost();
|
||||
|
||||
ydim16 = yres - STATUS2DSIZ2;
|
||||
halfxdim16 = xres >> 1;
|
||||
midydim16 = ydim16 >> 1; // scale(200,yres,480);
|
||||
|
|
Loading…
Reference in a new issue