mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
expanding this table by 1 entry to 256 entries total to silence static analysis - in reality, the access can mathematically never go beyond the original size 255 array, but it's best to be safe
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
static const uint8_t g_etc1_mod_tabs[255][8] = {
|
||||
static const uint8_t g_etc1_mod_tabs[256][8] = {
|
||||
{0,0,0,0,0,0,0,0,},
|
||||
{0,0,0,0,0,0,0,0,},
|
||||
{0,0,0,0,0,0,0,0,},
|
||||
@@ -253,5 +253,6 @@ static const uint8_t g_etc1_mod_tabs[255][8] = {
|
||||
{2,5,6,7,7,7,7,7,},
|
||||
{2,5,6,7,7,7,7,7,},
|
||||
{2,5,6,7,7,7,7,7,},
|
||||
{2,5,6,7,7,7,7,7,},
|
||||
{2,5,6,7,7,7,7,7,}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user