Dispose mesh builder properly.

This commit is contained in:
UnknownShadow200 2015-06-30 13:07:20 +10:00
parent 6778432660
commit dbbbf8a4e4
2 changed files with 1 additions and 4 deletions

View file

@ -56,6 +56,7 @@ namespace DefaultPlugin {
chunks = null;
unsortedChunks = null;
Window.EnvVariableChanged -= EnvVariableChanged;
builder.Dispose();
base.Dispose();
}

View file

@ -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();