Revert "Run graphics rendering on a dedicated thread."

This reverts commit b9be52c5428d4a3862d62fe3a2c01663bd3692c3.
This commit is contained in:
Paul Chote
2018-06-03 19:06:26 +01:00
committed by reaperrr
parent afc5a54ab5
commit 6c338eb06c
14 changed files with 48 additions and 875 deletions

View File

@@ -103,9 +103,14 @@ namespace OpenRA.Platforms.Default
OpenGL.CheckGLError();
}
~VertexBuffer()
{
Game.RunAfterTick(() => Dispose(false));
}
public void Dispose()
{
Dispose(true);
Game.RunAfterTick(() => Dispose(true));
GC.SuppressFinalize(this);
}