From e0dd69febc8f73b0e39e14d070ecf6b73bbe2d4f Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 14 Feb 2026 19:06:49 -0800 Subject: Use float colour. First step towards directional lighting --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ec4d307..39e087b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,8 @@ target_include_directories(swgfx PUBLIC target_link_libraries(swgfx PRIVATE math) -target_compile_options(swgfx PRIVATE -Wall -Wextra) +# Using -Wno-missing-braces to conveniently union xyzw and rgba without warnings. +target_compile_options(swgfx PRIVATE -Wall -Wextra -Wno-missing-braces) # Tests. -- cgit v1.2.3