mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Classic: prevent a SIGFPE when attempting to draw p'lax with nonexistent tile.
git-svn-id: https://svn.eduke32.com/eduke32@3888 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e2859cd133
commit
2959f86fbd
1 changed files with 3 additions and 0 deletions
|
@ -4480,6 +4480,9 @@ static void parascan(int32_t dax1, int32_t dax2, int32_t sectnum, char dastat, i
|
|||
logtilesizy = (picsiz[globalpicnum]>>4);
|
||||
tsizy = tilesizy[globalpicnum];
|
||||
|
||||
if (tsizy==0)
|
||||
return;
|
||||
|
||||
globalshiftval = logtilesizy;
|
||||
|
||||
// before proper non-power-of-two tilesizy drawing
|
||||
|
|
Loading…
Reference in a new issue