VideoBackends/Null: Remove unnecessary includes

This commit is contained in:
Lioncash 2019-07-27 15:50:41 -04:00
parent 3c8f6bca5a
commit bdcc5853d5
6 changed files with 9 additions and 20 deletions

View File

@ -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

View File

@ -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"

View File

@ -4,12 +4,7 @@
#pragma once
#include <memory>
#include "VideoBackends/Null/NullTexture.h"
#include "VideoCommon/TextureCacheBase.h"
#include "VideoCommon/TextureConfig.h"
namespace Null
{

View File

@ -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
{

View File

@ -4,9 +4,6 @@
#pragma once
#include <memory>
#include <vector>
#include "VideoCommon/VertexManagerBase.h"
namespace Null

View File

@ -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