FNA-XNA / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
267 stars 44 forks source link

Don't permanently leak render target readback staging buffers in D3D11 #189

Closed kg closed 7 months ago

kg commented 7 months ago

Calling GetData on a RenderTarget2D was permanently leaking the temporary staging buffer. This took my functional test suite from ~800mb of memory usage to 5GB.