diff --git a/src/graphic/Fast3D/gfx_pc.cpp b/src/graphic/Fast3D/gfx_pc.cpp index a709d1c07..70cc63268 100644 --- a/src/graphic/Fast3D/gfx_pc.cpp +++ b/src/graphic/Fast3D/gfx_pc.cpp @@ -166,7 +166,7 @@ static constexpr std::array ucode_attr_handlers = { &f3dex2AttrHandler, // ucode_s2dex }; -static constexpr uint32_t get_attr(Attribute attr) { +static uint32_t get_attr(Attribute attr) { const auto ucode_map = ucode_attr_handlers[ucode_handler_index]; // assert(ucode_map->contains(attr) && "Attribute not found in the current ucode handler"); return (*ucode_map)[attr];