diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java index 56a5c3429..56baa6953 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/minecraft/MinecraftGLWrapper.java @@ -176,21 +176,6 @@ public class MinecraftGLWrapper { GL32.glDeleteBuffers(buffer); - // attempt to fix a bug with Mac where de-allocated buffers - // are still being used, causing a SIGSEGV native crash - // and/or corrupting native memory - if (EPlatform.get() == EPlatform.MACOS) - { - // force the delete buffer (and any other in-flight) GL - // commands to finish before continuing - GL32.glFinish(); - - // James hates this idea. - // He kinda hopes it doesn't help, - // but maybe metal's API just doesn't finish correctly so we need to wait a moment longer before continuing. - try { Thread.sleep(1); } catch (InterruptedException ignore) { } - } - // MC's implementation has a bug where it will throw: // GL_INVALID_OPERATION in glBufferData(immutable) // when attempting to delete Storage Buffers