mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
TESTBED: Fix STATIC_ASSERT expression compilation on gp2x-1 (#3021)
This commit is contained in:
parent
be813e2ccc
commit
728e41e347
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user