Skip to content

Commit

Permalink
Merge pull request #3056 from degasus/master
Browse files Browse the repository at this point in the history
VideoSW: Remove unused function
  • Loading branch information
phire committed Sep 17, 2015
2 parents e4dfb2f + baf09c3 commit 7681d7b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Source/Core/VideoBackends/Software/Rasterizer.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7681d7b

Please sign in to comment.