mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-06-09 10:06:34 +02:00
Fix VRAM leak in MapChunk edge rendering (#6441)
* Fix VRAM leak in MapChunk edge rendering
* Remove CheckGlError because it is called in each of the deletion methods
* Revert "Remove CheckGlError because it is called in each of the deletion methods"
This reverts commit a48ffd71aa.
This commit is contained in:
@@ -408,6 +408,11 @@ namespace Robust.Client.Graphics.Clyde
|
||||
CheckGlError();
|
||||
data.VBO.Delete();
|
||||
data.EBO.Delete();
|
||||
|
||||
DeleteVertexArray(data.EdgeVAO);
|
||||
CheckGlError();
|
||||
data.EdgeVBO.Delete();
|
||||
data.EdgeEBO.Delete();
|
||||
}
|
||||
|
||||
private void _updateTileMapOnUpdate(ref TileChangedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user