mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Dispose mesh builder properly.
This commit is contained in:
parent
6778432660
commit
dbbbf8a4e4
2 changed files with 1 additions and 4 deletions
|
@ -56,6 +56,7 @@ namespace DefaultPlugin {
|
|||
chunks = null;
|
||||
unsortedChunks = null;
|
||||
Window.EnvVariableChanged -= EnvVariableChanged;
|
||||
builder.Dispose();
|
||||
base.Dispose();
|
||||
}
|
||||
|
||||
|
|
|
@ -10,10 +10,6 @@ namespace DefaultPlugin {
|
|||
public StandardChunkMeshBuilder( Game window ) : base( window ) {
|
||||
}
|
||||
|
||||
public override void Dispose() {
|
||||
base.Dispose();
|
||||
}
|
||||
|
||||
DrawInfo1DPart Solid = new DrawInfo1DPart();
|
||||
DrawInfo1DPart Translucent = new DrawInfo1DPart();
|
||||
DrawInfo1DPart Sprite = new DrawInfo1DPart();
|
||||
|
|
Loading…
Reference in a new issue