summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Rasterizer.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-09-18 05:53:31 +1200
committerScott Mansell <phiren@gmail.com>2015-09-18 05:53:31 +1200
commit7681d7b67aab3861014028833ba6cb7cbadfc691 (patch)
treeaa04f429c47aceed148cbff081648638502917e4 /Source/Core/VideoBackends/Software/Rasterizer.cpp
parente4dfb2f6bf7ca16c575a5723951c5f90868f76d1 (diff)
parentbaf09c3af6a1947fa9934e926eb0026a627a11dd (diff)
Merge pull request #3056 from degasus/master
VideoSW: Remove unused function
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);