dxx-rebirth/similar
Kp e0478f8111 Use if constexpr to guard calls to align_polygon_model_data
This allows the compiler to see and perform basic checks on the call
even in builds with `DXX_WORDS_NEED_ALIGNMENT == 0`.

Also, fix a missing address-of operator in one invocation of
`align_polygon_model_data`.

Reported-by: Brunnis <https://github.com/dxx-rebirth/dxx-rebirth/issues/687> (missing address-of operator)
Fixes: 43e1c841f0 ("Pass polymodel& to polymodel_read")
2022-12-31 16:21:47 +00:00
..
2d Make enumerate inherit ranges::subrange directly 2022-12-31 16:21:47 +00:00
3d Pass std::span to g3_validate_polygon_model 2022-09-24 17:47:52 +00:00
arch Store ranges::subrange in m3u_bytes 2022-12-31 16:21:47 +00:00
editor Make enumerate inherit ranges::subrange directly 2022-12-31 16:21:47 +00:00
main Use if constexpr to guard calls to align_polygon_model_data 2022-12-31 16:21:47 +00:00
misc Fix OS X clang build 2022-10-31 00:51:32 +00:00