summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Rasterizer.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-10-10 16:35:46 -0400
committerLioncash <mathew1800@gmail.com>2015-12-06 02:51:33 -0500
commita0924b5e1b2263314a1be74c44052cdda7628e29 (patch)
tree1f9d598e409f605809a6341054dd8249bde978d5 /Source/Core/VideoBackends/Software/Rasterizer.cpp
parent2793785e0cc5dd5a4bd823e52266df796a065d1c (diff)
Rasterizer: Convert BLOCK_SIZE into a constant variable
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 f8e746c598..0e392eef06 100644
--- a/Source/Core/VideoBackends/Software/Rasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp
@@ -16,10 +16,10 @@
#include "VideoBackends/Software/XFMemLoader.h"
#include "VideoCommon/BoundingBox.h"
-#define BLOCK_SIZE 2
-
namespace Rasterizer
{
+static constexpr int BLOCK_SIZE = 2;
+
static Slope ZSlope;
static Slope WSlope;
static Slope ColorSlopes[2][4];