GPUOpen-LibrariesAndSDKs / display-library

AMD Display Library SDK
132 stars 46 forks source link

Even if there is 1 adapter in the system, lpAdapterInfo will contain 6 entries and all entries will have iExist 1 #26

Open 1usmus opened 2 years ago

1usmus commented 2 years ago

Even if there is 1 adapter in the system, lpAdapterInfo will contain 6 entries and all entries will have iExist 1. What is the point of checking iBusNumber if the condition will always be satisfied? I see for some reason interrupts the loop through all break adapters. What is the point of doing a loop if we exit after the first iteration?