Skip to content
Permalink
Browse files

VideoBackends/Null: Remove unnecessary includes

  • Loading branch information...
lioncash committed Jul 27, 2019
1 parent 3c8f6bc commit bdcc5853d51d82301a8a05cee721c395fabe918b
@@ -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
@@ -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"
@@ -4,12 +4,7 @@

#pragma once

#include <memory>

#include "VideoBackends/Null/NullTexture.h"

#include "VideoCommon/TextureCacheBase.h"
#include "VideoCommon/TextureConfig.h"

namespace Null
{
@@ -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
{
@@ -4,9 +4,6 @@

#pragma once

#include <memory>
#include <vector>

#include "VideoCommon/VertexManagerBase.h"

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

0 comments on commit bdcc585

Please sign in to comment.
You can’t perform that action at this time.