summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shaders/lightmap.cpp2
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;