mirror of
https://github.com/MovingBlocks/Terasology
synced 2026-05-24 09:28:22 +00:00
bugfix: fix opengl memory leak in OpenlGLMesh (#4706)
This commit is contained in:
parent
2d0c434654
commit
2db9a7ea36
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public class OpenGLMesh extends Mesh {
|
|||
|
||||
public OpenGLMesh(ResourceUrn urn, AssetType<?, MeshData> assetType, MeshData data,
|
||||
DisposalAction disposalAction, LwjglGraphicsProcessing graphicsProcessing) {
|
||||
super(urn, assetType);
|
||||
super(urn, assetType, disposalAction);
|
||||
this.disposalAction = disposalAction;
|
||||
graphicsProcessing.asynchToDisplayThread(() -> {
|
||||
reload(data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue