Note: The DX11 renderer changes the DepthStencilState and CullMode (and potentially other things) so you’ll need to clean up after it, assuming you’re calling CEGUI::System::getSingleton().renderGUI() right before pSwapChain->Present( 0, 0 ). It is entirely possible there is another way to structure things, of which I am unaware, which will better minimize state changes. If you know something I don’t, let me know!

Advertisements