Closed bartwe closed 2 years ago
I am wondering just slightly if we do not want to default to the original behavior, as picking the monitor that starts the application is about as arbitrary a source of settings as is the first monitor on the adapter..
Hypothetically we could pull the window's active monitor via SDL_syswm or something, but this does seem more precise and in most cases will end up on the same display anyhow.
In any case, this is now in fnalibs.
Related to issue #140
uses the output that contains our whnd, or the primary monitor as the source of the information used to create the swapchain.
Also resolves an issue with mixing IDXGIAdapter1 and IDXGIAdapter