From 078b4c43f4af165279e0fd235abb3cb241b2b20b Mon Sep 17 00:00:00 2001 From: FireNX70 Date: Sun, 9 Jun 2024 21:46:44 +0200 Subject: [PATCH] Clean up tile size calc --- src/GPU3D_Compute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPU3D_Compute.cpp b/src/GPU3D_Compute.cpp index 6d6115fe..8e0ea4f3 100644 --- a/src/GPU3D_Compute.cpp +++ b/src/GPU3D_Compute.cpp @@ -313,7 +313,7 @@ void ComputeRenderer::SetRenderSettings(int scale, bool highResolutionCoordinate ScreenWidth = 256 * ScaleFactor; ScreenHeight = 192 * ScaleFactor; - TileSize = std::min(8 * (1 << (ScaleFactor / 5)), 32); + TileSize = std::min(8 << (ScaleFactor / 5), 32); CoarseTileW = CoarseTileCountX * TileSize; CoarseTileH = CoarseTileCountY * TileSize;