diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-07-06 13:29:28 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-07-06 13:29:28 +1000 |
commit | 3fe290db42f80f0af26a2e7d55ff0665db406274 (patch) | |
tree | c4e55810fe4939c941e6c8c9990766bc294f7fd8 /src/Java/miscutil/core | |
parent | 35a4a9c50ad2119c937b7742aed3e61c94bcba2b (diff) | |
download | GT5-Unofficial-3fe290db42f80f0af26a2e7d55ff0665db406274.tar.gz GT5-Unofficial-3fe290db42f80f0af26a2e7d55ff0665db406274.tar.bz2 GT5-Unofficial-3fe290db42f80f0af26a2e7d55ff0665db406274.zip |
% Making changes, Trying to fix these GL Errors.
------------------------------------------------------------
<SomeGuyInATree> Anyone here knowledgeable in GL? Not sure why this breaks context and fills my log with errors. http://pastebin.com/1NeNdvaB
<mezz> what's the error?
<SomeGuyInATree> http://pastebin.com/WSnPVSNf
<mezz> dunno, talk to psychedelicraft
<SomeGuyInATree> It's not related, because the same thing happens without it.
<mezz> it doesn't look like something you've caused
<mezz> can I see that log then?
<SomeGuyInATree> 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)
<mezz> that's not the same thing happening
<SomeGuyInATree> PC adds shaders, so I assume it has logging for when it itself breaks them/gl.
<mezz> seems like it's from a super class
<mezz> yours is too basic, no GL calls at all
<SomeGuyInATree> Loading Eclipse and whatnot. Lemme get you a log without PC
<mezz> 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
<mezz> if something in drawScreen crashes and is caught, the GL state could not be reset back to normal
<mezz> catching throwable is also bad practice
<mezz> since (like now) you will have no idea what's happening
Diffstat (limited to 'src/Java/miscutil/core')
-rw-r--r-- | src/Java/miscutil/core/xmod/gregtech/api/gui/GUI_IndustrialCentrifuge.java | 8 |
1 files changed, 1 insertions, 7 deletions
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!!! - * <p/> - * The GUI-Container I use for all my Basic Machines - * <p/> - * 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 = ""; |