Ban GL usage.

* Everything must go through GLSM/Render Backend
This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2026-03-22 11:56:08 -07:00
1 parent 09cc557be0
commit a3fffb47be
9 files changed
+70 -751

No files matched your search

@@ -1,13 +1,11 @@
package com.prupe.mcpatcher.mal.resource;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GLContext;
import com.gtnewhorizons.angelica.glsm.GLStateManager;
public class GLAPI {
private static final boolean useGlBlendFuncSeparate = GLContext.getCapabilities().OpenGL14;
private static final boolean useGlBlendFuncSeparate = GLStateManager.capabilities.OpenGL14;
public static void glBindTexture(int texture) {
if (texture >= 0) {