mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
WinRT: removed an unused variable from DXGI-based display-detection code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user