diff --git a/Source/Core/VideoBackends/Null/NullBackend.cpp b/Source/Core/VideoBackends/Null/NullBackend.cpp index 2f353d1fe3..5b0661fe2e 100644 --- a/Source/Core/VideoBackends/Null/NullBackend.cpp +++ b/Source/Core/VideoBackends/Null/NullBackend.cpp @@ -13,6 +13,7 @@ #include "VideoBackends/Null/VertexManager.h" #include "VideoBackends/Null/VideoBackend.h" +#include "Common/Common.h" #include "Common/MsgHandler.h" #include "VideoCommon/FramebufferManager.h" @@ -97,4 +98,10 @@ void VideoBackend::Shutdown() ShutdownShared(); } + +std::string VideoBackend::GetDisplayName() const +{ + // i18n: Null is referring to the null video backend, which renders nothing + return _trans("Null"); +} } // namespace Null diff --git a/Source/Core/VideoBackends/Null/Render.cpp b/Source/Core/VideoBackends/Null/Render.cpp index 312844afe0..cfa35c7315 100644 --- a/Source/Core/VideoBackends/Null/Render.cpp +++ b/Source/Core/VideoBackends/Null/Render.cpp @@ -2,10 +2,9 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -#include "Common/Logging/Log.h" +#include "VideoBackends/Null/Render.h" #include "VideoBackends/Null/NullTexture.h" -#include "VideoBackends/Null/Render.h" #include "VideoCommon/AbstractPipeline.h" #include "VideoCommon/AbstractShader.h" diff --git a/Source/Core/VideoBackends/Null/TextureCache.h b/Source/Core/VideoBackends/Null/TextureCache.h index 35c802ce4b..b9dd2de90a 100644 --- a/Source/Core/VideoBackends/Null/TextureCache.h +++ b/Source/Core/VideoBackends/Null/TextureCache.h @@ -4,12 +4,7 @@ #pragma once -#include - -#include "VideoBackends/Null/NullTexture.h" - #include "VideoCommon/TextureCacheBase.h" -#include "VideoCommon/TextureConfig.h" namespace Null { diff --git a/Source/Core/VideoBackends/Null/VertexManager.cpp b/Source/Core/VideoBackends/Null/VertexManager.cpp index bf70743262..329f89a2a2 100644 --- a/Source/Core/VideoBackends/Null/VertexManager.cpp +++ b/Source/Core/VideoBackends/Null/VertexManager.cpp @@ -3,10 +3,6 @@ // Refer to the license.txt file included. #include "VideoBackends/Null/VertexManager.h" -#include "VideoBackends/Null/Render.h" - -#include "VideoCommon/IndexGenerator.h" -#include "VideoCommon/VertexLoaderManager.h" namespace Null { diff --git a/Source/Core/VideoBackends/Null/VertexManager.h b/Source/Core/VideoBackends/Null/VertexManager.h index 7ab7557db6..2f45757f2e 100644 --- a/Source/Core/VideoBackends/Null/VertexManager.h +++ b/Source/Core/VideoBackends/Null/VertexManager.h @@ -4,9 +4,6 @@ #pragma once -#include -#include - #include "VideoCommon/VertexManagerBase.h" namespace Null diff --git a/Source/Core/VideoBackends/Null/VideoBackend.h b/Source/Core/VideoBackends/Null/VideoBackend.h index 3076f7aed0..8587854fc6 100644 --- a/Source/Core/VideoBackends/Null/VideoBackend.h +++ b/Source/Core/VideoBackends/Null/VideoBackend.h @@ -4,7 +4,6 @@ #pragma once -#include "Common/Common.h" #include "VideoCommon/VideoBackendBase.h" namespace Null @@ -15,11 +14,7 @@ class VideoBackend : public VideoBackendBase void Shutdown() override; std::string GetName() const override { return "Null"; } - std::string GetDisplayName() const override - { - // i18n: Null is referring to the null video backend, which renders nothing - return _trans("Null"); - } + std::string GetDisplayName() const override; void InitBackendInfo() override; }; } // namespace Null