diff options
| author | 3gg <3gg@shellblade.net> | 2026-02-14 19:06:49 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-02-14 19:06:49 -0800 |
| commit | e0dd69febc8f73b0e39e14d070ecf6b73bbe2d4f (patch) | |
| tree | 51b438b9447b50cdbc6dd6c2ae2ce42a384acfe6 /CMakeLists.txt | |
| parent | b0544549c551dfa0b52e7c685580f954861240ba (diff) | |
Use float colour. First step towards directional lighting
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
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 | |||
| 18 | target_link_libraries(swgfx PRIVATE | 18 | target_link_libraries(swgfx PRIVATE |
| 19 | math) | 19 | math) |
| 20 | 20 | ||
| 21 | target_compile_options(swgfx PRIVATE -Wall -Wextra) | 21 | # Using -Wno-missing-braces to conveniently union xyzw and rgba without warnings. |
| 22 | target_compile_options(swgfx PRIVATE -Wall -Wextra -Wno-missing-braces) | ||
| 22 | 23 | ||
| 23 | # Tests. | 24 | # Tests. |
| 24 | 25 | ||
