mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
fix gl crash
This commit is contained in:
1 parent
f73f79da7b
commit
0a01bb008b
2 files changed
+3
-2
No files matched your search
@@ -35,6 +35,7 @@ import appeng.client.texture.CableBusTextures;
|
||||
import appeng.core.AELog;
|
||||
import appeng.core.localization.PlayerMessages;
|
||||
import appeng.helpers.Reflected;
|
||||
import appeng.hooks.TickHandler;
|
||||
import appeng.me.GridAccessException;
|
||||
import appeng.parts.reporting.AbstractPartDisplay;
|
||||
import appeng.parts.reporting.PartPanel;
|
||||
@@ -199,7 +200,7 @@ public abstract class FCPartMonitor extends AbstractPartDisplay implements IPart
|
||||
super.finalize();
|
||||
|
||||
if (this.dspList != null) {
|
||||
GLAllocation.deleteDisplayLists(this.dspList);
|
||||
TickHandler.INSTANCE.scheduleCallListDelete(this.dspList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user