diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 07:52:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 07:52:16 +0200 |
commit | eb0344b85d230e906236cef34ea1e0c819da7e27 (patch) | |
tree | 746a8c3e58bade4cddb3dd537d543e6026d5933d /shaders/lightmap.cpp | |
parent | b9d4466c136b4f6f8ca43f43331ee6a75817cfce (diff) |
fix msvc warning
Diffstat (limited to 'shaders/lightmap.cpp')
-rw-r--r-- | shaders/lightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index e12b091b..3e3967ee 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -33,7 +33,7 @@ constexpr T poor_mans_ceil(T x) if (x > x0) return T(x0 + (int64_t)1); else - return x0; + return T(x0); } constexpr auto neighbor_count = 4; |