summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Rasterizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/Rasterizer.cpp16
1 files changed, 0 insertions, 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);