mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Remove arbitrary check on numshades == 32
Backported from PCExhumed. git-svn-id: https://svn.eduke32.com/eduke32@8432 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9cc8dee5fe
commit
120a2b4ca7
1 changed files with 0 additions and 3 deletions
|
@ -600,9 +600,6 @@ void handle_blend(uint8_t enable, uint8_t blend, uint8_t def)
|
||||||
|
|
||||||
int32_t paletteSetLookupTable(int32_t palnum, const uint8_t *shtab)
|
int32_t paletteSetLookupTable(int32_t palnum, const uint8_t *shtab)
|
||||||
{
|
{
|
||||||
if (numshades != 32)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
if (shtab != NULL)
|
if (shtab != NULL)
|
||||||
{
|
{
|
||||||
maybe_alloc_palookup(palnum);
|
maybe_alloc_palookup(palnum);
|
||||||
|
|
Loading…
Reference in a new issue