diff options
| author | degasus <wickmarkus@web.de> | 2015-09-17 19:20:21 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-09-17 19:44:44 +0200 |
| commit | baf09c3af6a1947fa9934e926eb0026a627a11dd (patch) | |
| tree | aa04f429c47aceed148cbff081648638502917e4 /Source/Core/VideoBackends/Software/Rasterizer.cpp | |
| parent | e4dfb2f6bf7ca16c575a5723951c5f90868f76d1 (diff) | |
VideoSW: Remove unused function
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Rasterizer.cpp | 16 |
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); |
