Navigation Menu

Skip to content

Commit

Permalink
WinRT: removed an unused variable from DXGI-based display-detection code
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Dec 6, 2015
1 parent 781455f commit c8e3bfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit c8e3bfb

Please sign in to comment.