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:
B_Kirill
2026-05-08 19:57:50 +10:00
committed by GitHub
parent 740c562ca3
commit bbf199757c
@@ -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)