mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-24 06:04:27 +00:00
Ban GL usage.
* Everything must go through GLSM/Render Backend
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user