Members - Reputation: 533
Posted 18 April 2012 - 06:47 PM
With DX11 it seems to be some more stuff that needs to be done..
When I setup my context I set the resolution for the depth stencil, swap chain and viewport.. I know I can resize the swap chain and set a new viewport, but do I need to create a new depth stencil or can I resize it aswell?
When I try to resize the swap chain I get the error below.. does it mean every buffer I've loaded to the GPU? vertex/index buffers, texture buffers, shaders, etc ? So if I've deleted it from normal memory I would need to load every thing up from files again?
DXGI Error: Swapchain cannot be resized unless all outstanding buffer references have been released.
Senior Moderators - Reputation: 7679
Posted 18 April 2012 - 07:05 PM
In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX
Moderators - Reputation: 18018
Posted 18 April 2012 - 08:24 PM
Crossbones+ - Reputation: 1428
Posted 19 April 2012 - 06:06 PM