diff options
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; |