Skip to content

Commit

Permalink
Fixed uint
Browse files Browse the repository at this point in the history
  • Loading branch information
Raikiri committed Oct 24, 2024
1 parent 9d0ba53 commit be904e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LegitScript/source/RenderGraphScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}
Expand Down

0 comments on commit be904e8

Please sign in to comment.