summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/DebugUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/DebugUtil.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/DebugUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp
index ee77e3a5dd..c427160fc7 100644
--- a/Source/Core/VideoBackends/Software/DebugUtil.cpp
+++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp
@@ -45,9 +45,9 @@ void Init()
void Shutdown()
{
- for (int i = 0; i < NUM_OBJECT_BUFFERS; i++)
+ for (auto& slot : ObjectBuffer)
{
- delete[] ObjectBuffer[i];
+ delete[] slot;
}
}