diff --git a/platform/sdl/format_mapping.h b/platform/sdl/format_mapping.h index 9ac5170..e916c99 100644 --- a/platform/sdl/format_mapping.h +++ b/platform/sdl/format_mapping.h @@ -1,10 +1,11 @@ #pragma once #include +template constexpr bool assert_false = false; template struct FormatMapping { - static_assert(false, "Unsupported pixel format"); + static_assert(assert_false, "Unsupported pixel format"); }; template<>