From 9820e437d593bbdfd2675fd36c45d8e4a39d1f32 Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Fri, 18 Jun 2021 13:05:57 +0200 Subject: [PATCH] [#70] Fixed type mismatch Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- projects/voxelization/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/voxelization/src/main.cpp b/projects/voxelization/src/main.cpp index 554a6ee0..81d99f8a 100644 --- a/projects/voxelization/src/main.cpp +++ b/projects/voxelization/src/main.cpp @@ -415,8 +415,8 @@ int main(int argc, const char** argv) { const uint32_t gammaCorrectionLocalGroupSize = 8; const uint32_t gammaCorrectionDispatchCount[3] = { - glm::ceil(windowWidth / float(gammaCorrectionLocalGroupSize)), - glm::ceil(windowHeight / float(gammaCorrectionLocalGroupSize)), + static_cast<uint32_t>(glm::ceil(windowWidth / static_cast<float>(gammaCorrectionLocalGroupSize))), + static_cast<uint32_t>(glm::ceil(windowHeight / static_cast<float>(gammaCorrectionLocalGroupSize))), 1 }; -- GitLab