Skip to content

Commit

Permalink
Dispose Renderer frame buffers.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote committed Dec 4, 2023
1 parent 6490aef commit bf9bfd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenRA.Game/Renderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ public void SaveScreenshot(string path)

public void Dispose()
{
worldBuffer.Dispose();
screenBuffer.Dispose();
worldBufferCopy.Dispose();
tempVertexBuffer.Dispose();
quadIndexBuffer.Dispose();
Expand Down

0 comments on commit bf9bfd2

Please sign in to comment.