VideoCommon: Drop GetConfigName.

We're past 5.0 now, so there is no need to look for old inis.
This commit is contained in:
degasus
2016-06-26 08:06:23 +02:00
parent 5f2f462067
commit d79aeaa1e9
21 changed files with 16 additions and 57 deletions

View File

@ -16,7 +16,6 @@ class VideoBackend : public VideoBackendBase
std::string GetName() const override;
std::string GetDisplayName() const override;
std::string GetConfigName() const override;
void Video_Prepare() override;
void Video_Cleanup() override;

View File

@ -61,11 +61,6 @@ std::string VideoBackend::GetDisplayName() const
return "Direct3D 11";
}
std::string VideoBackend::GetConfigName() const
{
return "gfx_dx11";
}
void VideoBackend::InitBackendInfo()
{
HRESULT hr = DX11::D3D::LoadDXGI();

View File

@ -16,7 +16,6 @@ class VideoBackend : public VideoBackendBase
std::string GetName() const override;
std::string GetDisplayName() const override;
std::string GetConfigName() const override;
void Video_Prepare() override;
void Video_Cleanup() override;

View File

@ -62,11 +62,6 @@ std::string VideoBackend::GetDisplayName() const
return "Direct3D 12 (experimental)";
}
std::string VideoBackend::GetConfigName() const
{
return "gfx_dx12";
}
void VideoBackend::InitBackendInfo()
{
HRESULT hr = D3D::LoadDXGI();

View File

@ -15,7 +15,6 @@ class VideoBackend : public VideoBackendBase
std::string GetName() const override { return "Null"; }
std::string GetDisplayName() const override { return "Null"; }
std::string GetConfigName() const override { return "gfx_null"; }
void Video_Prepare() override;
void Video_Cleanup() override;

View File

@ -16,7 +16,6 @@ class VideoBackend : public VideoBackendBase
std::string GetName() const override;
std::string GetDisplayName() const override;
std::string GetConfigName() const override;
void Video_Prepare() override;
void Video_Cleanup() override;

View File

@ -91,11 +91,6 @@ std::string VideoBackend::GetDisplayName() const
return "OpenGL";
}
std::string VideoBackend::GetConfigName() const
{
return "gfx_opengl";
}
static std::vector<std::string> GetShaders(const std::string& sub_dir = "")
{
std::vector<std::string> paths =

View File

@ -134,11 +134,6 @@ std::string VideoSoftware::GetDisplayName() const
return "Software Renderer";
}
std::string VideoSoftware::GetConfigName() const
{
return "gfx_software";
}
void VideoSoftware::InitBackendInfo()
{
g_Config.backend_info.APIType = API_NONE;

View File

@ -21,7 +21,6 @@ class VideoSoftware : public VideoBackendBase
std::string GetName() const override;
std::string GetDisplayName() const override;
std::string GetConfigName() const override;
void Video_Prepare() override;
void Video_Cleanup() override;