mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Engine: Add #ifdef USE_OPENGL forgotten in r5024 that causes an OOB access in scansector() and glitchy mirrors with USE_OPENGL=0.
git-svn-id: https://svn.eduke32.com/eduke32@5917 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b064563a23
commit
a25198d913
1 changed files with 2 additions and 0 deletions
|
@ -7977,6 +7977,7 @@ int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
|
|||
return 0;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Update starting sector number (common to classic and Polymost).
|
||||
// ADJUST_GLOBALCURSECTNUM.
|
||||
|
@ -7994,6 +7995,7 @@ int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
//============================================================================= //POLYMOST BEGINS
|
||||
polymost_drawrooms();
|
||||
|
||||
|
|
Loading…
Reference in a new issue