2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 12:59:12 +00:00

More GCC 9 fixes

This commit is contained in:
2022-06-13 03:55:50 -04:00
parent ce14e1c2aa
commit 30802a447f
2 changed files with 2 additions and 2 deletions

View File

@@ -642,7 +642,7 @@ enum LightID : u32 {
MAX_LIGHT = 0x100,
LIGHT_NULL = 0x000,
};
constexpr u8 MaxLights = std::bit_width<std::underlying_type_t<LightID>>(MAX_LIGHT) - 1;
constexpr u8 MaxLights = 8;
using LightMask = std::bitset<MaxLights>;
enum FogType {