Hi, I was trying making my DX initial setup more polish, so Im traversing the adapters till get one who supports the DXGI_MODE_DESC requested, using FindClosestMatchingMode..
The thing is, I have just one adapter, and it matchs at the first iteration..But when passing this adapter to CreateDevAndSChain, the function returns S_FALSE, andt its returning 0 for the feature levels...It doesnt make any sense to me, since specifying NULL(with gets the default adapter, witch should be the one Im explicity specifying..) makes it works fine...
I know S_FALSE is not a failure(but it still doesnt make sense), but why would it return 0 for the feature levels? Whats going on?
Actually is worse, it is not creating any device and swapchains, everything is NULL..So why it returns S_FALSE?