Which one is better? In frank luna's book, they use a few COM queries, then call IDXGIFactory::CreateSwapChain. But you can do that with a single call of D3D11CreateDeviceAndSwapChain() (also creates the device so that's a plus). So I was wondering, is there a catch with any of this? What can I/can I not do if I initialize my DIrect3D layer using D3D11CreateDeviceAndSwapChain() ?
Edited by jammm, 29 December 2013 - 02:10 AM.