From be904e83d1dead8c54af120a0f812b9a37846908 Mon Sep 17 00:00:00 2001 From: Raikiri Date: Thu, 24 Oct 2024 13:34:17 +1300 Subject: [PATCH] Fixed uint --- LegitScript/source/RenderGraphScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LegitScript/source/RenderGraphScript.cpp b/LegitScript/source/RenderGraphScript.cpp index 51acd28..512c2d5 100644 --- a/LegitScript/source/RenderGraphScript.cpp +++ b/LegitScript/source/RenderGraphScript.cpp @@ -222,7 +222,7 @@ struct RenderGraphScript::Impl for(;tmp_size.x > 1 && tmp_size.y > 1; tmp_size.x /= 2, tmp_size.y /= 2, mips_count++); return mips_count; } - uvec2 GetMipSize(uint mip_level) const + uvec2 GetMipSize(unsigned int mip_level) const { return uvec2{size.x >> mip_level, size.y >> mip_level}; }