Fix off-by-one buffer overflow when getting LUT 255
This commit is contained in:
1 parent
463778cd88
commit
001a38bbd2
1 file changed
+1
-1
+1
-1
@@ -45,7 +45,7 @@ typedef struct
|
||||
{
|
||||
boolean init;
|
||||
RGBA_t palette[256];
|
||||
UINT16 table[0xFFFF];
|
||||
UINT16 table[0x10000];
|
||||
} colorlookup_t;
|
||||
|
||||
void InitColorLUT(colorlookup_t *lut, RGBA_t *palette, boolean makecolors);
|
||||
|
||||
Reference in new issue
Block a user