summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Rasterizer.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-07-11 20:34:48 +1000
committerGitHub <noreply@github.com>2019-07-11 20:34:48 +1000
commit4c649d1a5d92ccb1cb106861d60d744b92188524 (patch)
tree25011e4e5197824643d837414f3a2ebb66d283a2 /Source/Core/VideoBackends/Software/Rasterizer.cpp
parent8d8d1037398f0aebd4fcec478ace20dfef91e4cc (diff)
parent9c245655fbb1deea183d47a53dbd6ecaab3bcb4a (diff)
Merge pull request #8238 from lioncash/video-stats
VideoCommon/Statistics: Minor cleanup changes
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/Rasterizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp
index f35ccea26f..5fc21340fe 100644
--- a/Source/Core/VideoBackends/Software/Rasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp
@@ -72,7 +72,7 @@ void SetTevReg(int reg, int comp, s16 color)
static void Draw(s32 x, s32 y, s32 xi, s32 yi)
{
- INCSTAT(stats.thisFrame.rasterizedPixels);
+ INCSTAT(g_stats.this_frame.rasterized_pixels);
float dx = vertexOffsetX + (float)(x - vertex0X);
float dy = vertexOffsetY + (float)(y - vertex0Y);
@@ -267,7 +267,7 @@ static void BuildBlock(s32 blockX, s32 blockY)
void DrawTriangleFrontFace(const OutputVertexData* v0, const OutputVertexData* v1,
const OutputVertexData* v2)
{
- INCSTAT(stats.thisFrame.numTrianglesDrawn);
+ INCSTAT(g_stats.this_frame.num_triangles_drawn);
// adapted from http://devmaster.net/posts/6145/advanced-rasterization