From 3fe290db42f80f0af26a2e7d55ff0665db406274 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Wed, 6 Jul 2016 13:29:28 +1000 Subject: % Making changes, Trying to fix these GL Errors. ------------------------------------------------------------ Anyone here knowledgeable in GL? Not sure why this breaks context and fills my log with errors. http://pastebin.com/1NeNdvaB what's the error? http://pastebin.com/WSnPVSNf dunno, talk to psychedelicraft It's not related, because the same thing happens without it. it doesn't look like something you've caused can I see that log then? Client locks up when opening GUI, spams log with that if PC is installed, or locks without (Assume the same thing happens but isn't logged) that's not the same thing happening PC adds shaders, so I assume it has logging for when it itself breaks them/gl. seems like it's from a super class yours is too basic, no GL calls at all Loading Eclipse and whatnot. Lemme get you a log without PC this file does not look very goodd https://github.com/draknyte1/GT5-Unofficial-Ex/blob/master/src/main/java/gregtech/api/gui/GT_GUIContainer.java if something in drawScreen crashes and is caught, the GL state could not be reset back to normal catching throwable is also bad practice since (like now) you will have no idea what's happening --- .../core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/Java/miscutil/core') diff --git a/src/Java/miscutil/core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java b/src/Java/miscutil/core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java index eb197d34cc..24218d5e13 100644 --- a/src/Java/miscutil/core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java +++ b/src/Java/miscutil/core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java @@ -6,13 +6,7 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import miscutil.core.lib.CORE; import net.minecraft.entity.player.InventoryPlayer; -/** - * NEVER INCLUDE THIS FILE IN YOUR MOD!!! - *

- * The GUI-Container I use for all my Basic Machines - *

- * As the NEI-RecipeTransferRect Handler can't handle one GUI-Class for all GUIs I needed to produce some dummy-classes which extend this class - */ + public class GUI_IndustrialCentrifuge extends GT_GUIContainerMetaTile_Machine { String mName = ""; -- cgit