summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-12-09 18:22:16 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-12-10 14:49:57 -0800
commit20257634209dba85d2cd51ad42e660090a5224e6 (patch)
tree9b89dd27ea346edb18349c7e68b3f498c178d64f /Source/Core/VideoBackends/Software
parent9304fe7124c145c859daeef37a247591c68c7c61 (diff)
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)