Closed GoogleCodeExporter closed 9 years ago
I'll look into it.
Original comment by josh.petrie
on 31 Jul 2008 at 3:32
DXGI.SwapChain.GetBuffer<T>() was dangling a reference to the IUnknown
recovered
from the native GetBuffer() call; since the IUnknown was used to call
FromPointer on
the appropriate type T (which also increments the reference count), the call to
Dispose() the texture object that is used to create the RenderTargetView would
not
reduce the reference count on the texture to zero.
Thus, the backbuffer texture resource would still be around when
ResizeBuffers() was
called, even if the render target view was correctly disposed of.
I believe this is fixed now.
Original comment by josh.petrie
on 3 Aug 2008 at 2:51
Original issue reported on code.google.com by
tape.wyrm
on 31 Jul 2008 at 7:50