mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
SW: Fix an assertion failure in palette changing code
git-svn-id: https://svn.eduke32.com/eduke32@8300 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/palette.cpp
This commit is contained in:
parent
fd3ec56827
commit
31f8cb4def
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ void videoSetPalette(char dabrightness, uint8_t dapalid, uint8_t flags)
|
||||||
int32_t palsumdidchange;
|
int32_t palsumdidchange;
|
||||||
// uint32_t lastbright = curbrightness;
|
// uint32_t lastbright = curbrightness;
|
||||||
|
|
||||||
Bassert((flags & 4) == 0);
|
// Bassert((flags&4)==0); // What is so bad about this flag?
|
||||||
|
|
||||||
if (/*(unsigned)dapalid >= MAXBASEPALS ||*/ basepaltable[dapalid] == NULL)
|
if (/*(unsigned)dapalid >= MAXBASEPALS ||*/ basepaltable[dapalid] == NULL)
|
||||||
dapalid = 0;
|
dapalid = 0;
|
||||||
|
|
Loading…
Reference in a new issue