From baf09c3af6a1947fa9934e926eb0026a627a11dd Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 17 Sep 2015 19:20:21 +0200 Subject: [PATCH] VideoSW: Remove unused function --- .../Core/VideoBackends/Software/Rasterizer.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp index 0db2765944..440572e45a 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.cpp +++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp @@ -311,22 +311,6 @@ static void BuildBlock(s32 blockX, s32 blockY) } } -static inline void PrepareBlock(s32 blockX, s32 blockY) -{ - static s32 x = -1; - static s32 y = -1; - - blockX &= ~(BLOCK_SIZE - 1); - blockY &= ~(BLOCK_SIZE - 1); - - if (x != blockX || y != blockY) - { - x = blockX; - y = blockY; - BuildBlock(x, y); - } -} - void DrawTriangleFrontFace(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2) { INCSTAT(swstats.thisFrame.numTrianglesDrawn);