Add missing overload (#1495)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-03-10 11:50:58 -07:00
1 parent 4b46de4566
commit c5c4b290b1
1 file changed
+4
@@ -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);