WinRT: removed an unused variable from DXGI-based display-detection code

This commit is contained in:
David Ludwig 2015-12-06 17:07:37 -05:00
parent 781455fd8b
commit c8e3bfbf54
1 changed files with 0 additions and 1 deletions

View File

@ -386,7 +386,6 @@ WINRT_InitModes(_THIS)
return -1;
}
int adapterIndex = 0;
for (int adapterIndex = 0; ; ++adapterIndex) {
if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) {
break;