On Thu, Oct 22, 2015 at 11:54 AM, Stefan Dösinger stefandoesinger@gmail.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2015-10-22 um 01:52 schrieb Józef Kucia:
hr = CreateDXGIFactory(&IID_IDXGIFactory, (void **)&factory);
hr = CreateDXGIFactory1(&IID_IDXGIFactory, (void **)&factory);
Shouldn't you request an IDXGIFactory1 interface now?
It doesn't really matter. CreateDXGIFactory1() accepts both IID_IDXGIFactory and IID_IDXGIFactory1. There is no need to get IDXGIFactory1 as we don't use any new methods introduced by DXGI 1.1.
We have tests for CreateDXGIFactory1() in test_create_factory() in dxgi/tests.