From 96eaeb48512342ab621e89739cd8f7e3ab390dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=A1k?= Date: Fri, 9 May 2025 08:13:51 +0200 Subject: [PATCH] Fix assert on format mapping #9 --- platform/sdl/format_mapping.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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<>