OpenGL constants

This commit is contained in:
Sen 2025-03-19 23:31:33 +01:00
parent e2f2417695
commit abc2f6ab50
31 changed files with 179 additions and 362 deletions

View file

@ -185,7 +185,7 @@ public abstract class GuiList<T extends ListEntry> extends Gui
this.overlayBackground(this.bottom, this.height, 255, 255);
GlState.enableBlend();
GlState.tryBlendFuncSeparate(770, 771, 0, 1);
GlState.tryBlendFuncSeparate(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ZERO, GL11.GL_ONE);
GlState.disableAlpha();
GlState.shadeModel(GL11.GL_SMOOTH);
GlState.disableTexture2D();