summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-12-12 15:14:28 +0100
committerGitHub <noreply@github.com>2021-12-12 15:14:28 +0100
commitf4e2d369c075f44f037289a1ccb78274c7d5cb39 (patch)
tree9b89dd27ea346edb18349c7e68b3f498c178d64f /Source/Core/VideoBackends/Software
parentbfddce425dfb4767aefe00c9e4b49126a50d62b6 (diff)
parent20257634209dba85d2cd51ad42e660090a5224e6 (diff)
Merge pull request #10270 from Pokechu22/header-order
Treewide: Adjust order of includes
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/EfbCopy.cpp1
-rw-r--r--Source/Core/VideoBackends/Software/SWOGLWindow.cpp3
-rw-r--r--Source/Core/VideoBackends/Software/SWTexture.cpp3
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp3
-rw-r--r--Source/Core/VideoBackends/Software/SetupUnit.cpp6
5 files changed, 9 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbCopy.cpp b/Source/Core/VideoBackends/Software/EfbCopy.cpp
index 31fdf3f421..c23ca5622c 100644
--- a/Source/Core/VideoBackends/Software/EfbCopy.cpp
+++ b/Source/Core/VideoBackends/Software/EfbCopy.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "VideoBackends/Software/EfbCopy.h"
+
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/HW/Memmap.h"
diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp
index 0b185aeb64..387375cc85 100644
--- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp
+++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp
@@ -1,6 +1,8 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "VideoBackends/Software/SWOGLWindow.h"
+
#include <memory>
#include "Common/GL/GLContext.h"
@@ -8,7 +10,6 @@
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
-#include "VideoBackends/Software/SWOGLWindow.h"
#include "VideoBackends/Software/SWTexture.h"
SWOGLWindow::SWOGLWindow() = default;
diff --git a/Source/Core/VideoBackends/Software/SWTexture.cpp b/Source/Core/VideoBackends/Software/SWTexture.cpp
index a70f1b0704..082c26371e 100644
--- a/Source/Core/VideoBackends/Software/SWTexture.cpp
+++ b/Source/Core/VideoBackends/Software/SWTexture.cpp
@@ -2,12 +2,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "VideoBackends/Software/SWTexture.h"
-#include "VideoBackends/Software/SWRenderer.h"
#include <cstring>
+
#include "Common/Assert.h"
#include "VideoBackends/Software/CopyRegion.h"
+#include "VideoBackends/Software/SWRenderer.h"
namespace SW
{
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index fa6f89ba2d..6a12c467d8 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -1,6 +1,8 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "VideoBackends/Software/VideoBackend.h"
+
#include <cstring>
#include <memory>
#include <string>
@@ -20,7 +22,6 @@
#include "VideoBackends/Software/SWTexture.h"
#include "VideoBackends/Software/SWVertexLoader.h"
#include "VideoBackends/Software/TextureCache.h"
-#include "VideoBackends/Software/VideoBackend.h"
#include "VideoCommon/FramebufferManager.h"
#include "VideoCommon/TextureCacheBase.h"
diff --git a/Source/Core/VideoBackends/Software/SetupUnit.cpp b/Source/Core/VideoBackends/Software/SetupUnit.cpp
index d73bdfc572..b2488a63d8 100644
--- a/Source/Core/VideoBackends/Software/SetupUnit.cpp
+++ b/Source/Core/VideoBackends/Software/SetupUnit.cpp
@@ -1,14 +1,12 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <cstring>
-
#include "VideoBackends/Software/SetupUnit.h"
-#include "Common/Logging/Log.h"
+#include <cstring>
+#include "Common/Logging/Log.h"
#include "VideoBackends/Software/Clipper.h"
-
#include "VideoCommon/OpcodeDecoding.h"
void SetupUnit::Init(u8 primitiveType)