mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-13 17:04:15 +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
@@ -2,6 +2,7 @@ package net.coderbot.iris.gl.program;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.gtnewhorizons.angelica.config.AngelicaConfig;
|
||||
import com.gtnewhorizons.angelica.glsm.GLStateManager;
|
||||
import com.gtnewhorizons.angelica.glsm.RenderSystem;
|
||||
import java.nio.IntBuffer;
|
||||
import java.util.ArrayList;
|
||||
@@ -189,7 +190,7 @@ public class ProgramUniforms {
|
||||
|
||||
public ProgramUniforms buildUniforms() {
|
||||
// Check for any unsupported uniforms and warn about them so that we can easily figure out what uniforms we need to add.
|
||||
final int activeUniforms = GL20.glGetProgrami(program, GL20.GL_ACTIVE_UNIFORMS);
|
||||
final int activeUniforms = GLStateManager.glGetProgrami(program, GL20.GL_ACTIVE_UNIFORMS);
|
||||
IntBuffer sizeType = BufferUtils.createIntBuffer(2);
|
||||
|
||||
for (int index = 0; index < activeUniforms; index++) {
|
||||
|
||||
Reference in new issue
Block a user