From a0924b5e1b2263314a1be74c44052cdda7628e29 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 10 Oct 2015 16:35:46 -0400 Subject: [PATCH] Rasterizer: Convert BLOCK_SIZE into a constant variable --- Source/Core/VideoBackends/Software/Rasterizer.cpp | 4 ++-- 1 file 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];