Merge pull request #6192 from lioncash/unused-var

D3D/main: Remove unused variable in InitBackendInfo()
This commit is contained in:
JosJuice 2017-11-12 19:34:46 +01:00 committed by GitHub
commit 8c6465c66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -102,7 +102,6 @@ void VideoBackend::InitBackendInfo()
// TODO: These don't get updated on adapter change, yet
if (adapter_index == g_Config.iAdapter)
{
std::string samples;
std::vector<DXGI_SAMPLE_DESC> modes = DX11::D3D::EnumAAModes(ad);
// First iteration will be 1. This equals no AA.
for (unsigned int i = 0; i < modes.size(); ++i)