[Scummvm-git-logs] scummvm master -> 728e41e347625a9efdb04415437411e191647cf4

lolbot-iichan lolbot_iichan at mail.ru
Fri May 21 00:29:43 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: 728e41e347625a9efdb04415437411e191647cf4
    https://github.com/scummvm/scummvm/commit/728e41e347625a9efdb04415437411e191647cf4
Author: lolbot-iichan (lolbot_iichan at mail.ru)
Date: 2021-05-21T03:29:41+03:00

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

Changed paths:
    engines/testbed/graphics.cpp


diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp
index 86d09be099..6545af510b 100644
--- a/engines/testbed/graphics.cpp
+++ b/engines/testbed/graphics.cpp
@@ -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++) {




More information about the Scummvm-git-logs mailing list