mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
WinRT: removed an unused variable from DXGI-based display-detection code
This commit is contained in:
parent
781455fd8b
commit
c8e3bfbf54
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user