summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 19:21:15 +1300
committerScott Mansell <phiren@gmail.com>2023-02-09 18:36:20 +1300
commitcf9a6f8477a8c0ebfcb344fb9f3af9b97569798b (patch)
tree3b14659570eff2fbf0b513e7e0c1dd4be2ac3bea /Source/Core/VideoBackends
parentf7ad82573683376958bb39ada5d5a37cc98abffc (diff)
Lint fixes
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/Metal/MTLMain.mm9
-rw-r--r--Source/Core/VideoBackends/Metal/MTLObjectCache.h2
-rw-r--r--Source/Core/VideoBackends/OGL/OGLConfig.h2
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.cpp2
4 files changed, 6 insertions, 9 deletions
diff --git a/Source/Core/VideoBackends/Metal/MTLMain.mm b/Source/Core/VideoBackends/Metal/MTLMain.mm
index d7be2cc534..f799d5eea1 100644
--- a/Source/Core/VideoBackends/Metal/MTLMain.mm
+++ b/Source/Core/VideoBackends/Metal/MTLMain.mm
@@ -17,9 +17,9 @@
#include "Common/MsgHandler.h"
#include "VideoBackends/Metal/MTLBoundingBox.h"
+#include "VideoBackends/Metal/MTLGfx.h"
#include "VideoBackends/Metal/MTLObjectCache.h"
#include "VideoBackends/Metal/MTLPerfQuery.h"
-#include "VideoBackends/Metal/MTLGfx.h"
#include "VideoBackends/Metal/MTLStateTracker.h"
#include "VideoBackends/Metal/MTLUtil.h"
#include "VideoBackends/Metal/MTLVertexManager.h"
@@ -106,11 +106,8 @@ bool Metal::VideoBackend::Initialize(const WindowSystemInfo& wsi)
g_state_tracker = std::make_unique<StateTracker>();
return InitializeShared(
- std::make_unique<Metal::Gfx>(std::move(layer)),
- std::make_unique<Metal::VertexManager>(),
- std::make_unique<Metal::PerfQuery>(),
- std::make_unique<Metal::BoundingBox>()
- );
+ std::make_unique<Metal::Gfx>(std::move(layer)), std::make_unique<Metal::VertexManager>(),
+ std::make_unique<Metal::PerfQuery>(), std::make_unique<Metal::BoundingBox>());
}
}
diff --git a/Source/Core/VideoBackends/Metal/MTLObjectCache.h b/Source/Core/VideoBackends/Metal/MTLObjectCache.h
index 9ae28a6352..f47a513116 100644
--- a/Source/Core/VideoBackends/Metal/MTLObjectCache.h
+++ b/Source/Core/VideoBackends/Metal/MTLObjectCache.h
@@ -8,8 +8,8 @@
#include "VideoBackends/Metal/MRCHelpers.h"
-#include "VideoCommon/RenderState.h"
#include "VideoCommon/BPMemory.h"
+#include "VideoCommon/RenderState.h"
struct AbstractPipelineConfig;
class AbstractPipeline;
diff --git a/Source/Core/VideoBackends/OGL/OGLConfig.h b/Source/Core/VideoBackends/OGL/OGLConfig.h
index eb3d20e70c..2aece68896 100644
--- a/Source/Core/VideoBackends/OGL/OGLConfig.h
+++ b/Source/Core/VideoBackends/OGL/OGLConfig.h
@@ -75,4 +75,4 @@ bool PopulateConfig(GLContext* main_gl_context);
extern VideoConfig g_ogl_config;
-} // namespace OGL \ No newline at end of file
+} // namespace OGL
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp
index d4758a07fa..4dfd5dc0f2 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.cpp
+++ b/Source/Core/VideoBackends/Software/SWGfx.cpp
@@ -128,4 +128,4 @@ void SWGfx::SetScissorRect(const MathUtil::Rectangle<int>& rc)
Rasterizer::ScissorChanged();
}
-} // namespace SW \ No newline at end of file
+} // namespace SW