summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-02-14 19:06:49 -0800
committer3gg <3gg@shellblade.net>2026-02-14 19:06:49 -0800
commite0dd69febc8f73b0e39e14d070ecf6b73bbe2d4f (patch)
tree51b438b9447b50cdbc6dd6c2ae2ce42a384acfe6 /CMakeLists.txt
parentb0544549c551dfa0b52e7c685580f954861240ba (diff)
Use float colour. First step towards directional lighting
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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
18target_link_libraries(swgfx PRIVATE 18target_link_libraries(swgfx PRIVATE
19 math) 19 math)
20 20
21target_compile_options(swgfx PRIVATE -Wall -Wextra) 21# Using -Wno-missing-braces to conveniently union xyzw and rgba without warnings.
22target_compile_options(swgfx PRIVATE -Wall -Wextra -Wno-missing-braces)
22 23
23# Tests. 24# Tests.
24 25