TESTBED: Fix STATIC_ASSERT expression compilation on gp2x-1 (#3021)

This commit is contained in:
lolbot-iichan 2021-05-21 03:29:41 +03:00 committed by GitHub
parent be813e2ccc
commit 728e41e347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1385,7 +1385,7 @@ void GFXtests::showPixelFormat(const Graphics::PixelFormat &pf, uint aLoss) {
const uint nTones = nLevels * (nLevels - 1) / 2;
const uint paletteSize = nStdColors + nColors * nTones;
STATIC_ASSERT(paletteSize < 256, "can't fit the tones in CLUT8");
STATIC_ASSERT(paletteSize < 256, cant_fit_all_the_tones_into_CLUT8_palettes);
uint level[nLevels];
for (uint i = 0; i < nLevels - 1; i++) {