reed-framework icon indicating copy to clipboard operation
reed-framework copied to clipboard

Separate D3D device creation from window/swapchain creation

Open Reedbeta opened this issue 10 years ago • 0 comments

Today, D3D11Window::Init() just does everything. Should at least split it into two init methods: one for the D3D device, shaders, state blocks etc. and another for the window and swap chain. In fact, it should possibly be split into two classes, so you can easily have one device and several (or zero) windows/swapchains.

Reedbeta avatar Apr 07 '15 20:04 Reedbeta