Skip to content

Commit

Permalink
Add method overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
xCollateral committed Sep 27, 2024
1 parent 968cbf4 commit 0bfb85b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/net/vulkanmod/mixin/render/GlStateManagerM.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import net.vulkanmod.vulkan.Renderer;
import net.vulkanmod.vulkan.VRenderSystem;
import org.jetbrains.annotations.Nullable;
import org.lwjgl.opengl.GL20;
import org.lwjgl.system.MemoryUtil;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
Expand Down Expand Up @@ -405,4 +406,10 @@ public static void _glDeleteBuffers(int i) {
RenderSystem.assertOnRenderThread();
GlBuffer.glDeleteBuffers(i);
}

/**
* @author
*/
@Overwrite(remap = false)
public static void _disableVertexAttribArray(int i) {}
}

0 comments on commit 0bfb85b

Please sign in to comment.