From c5c4b290b1861000b3645132b067add4c5575fbf Mon Sep 17 00:00:00 2001 From: Jason Mitchell Date: Tue, 10 Mar 2026 11:50:58 -0700 Subject: [PATCH] Add missing overload (#1495) --- .../java/com/gtnewhorizons/angelica/glsm/GLStateManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java b/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java index eff15e296..2d3bfe069 100644 --- a/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java +++ b/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java @@ -2323,6 +2323,10 @@ public class GLStateManager { GL20.glVertexAttribPointer(index, size, type, normalized, stride, offset); } + public static void glVertexAttribPointer(int index, int size, boolean normalized, int stride, FloatBuffer pointer) { + glVertexAttribPointer(index, size, GL11.GL_FLOAT, normalized, stride, pointer); + } + public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, FloatBuffer pointer) { final ByteBuffer bb = MemoryUtilities.memByteBuffer(pointer); VertexAttribState.set(index, size, type, normalized, stride, bb, boundVBO);