From 9f2a71be4e2ff4145eb76fea2f13a37f7eb50396 Mon Sep 17 00:00:00 2001 From: Jason Mitchell Date: Tue, 10 Mar 2026 10:06:12 -0700 Subject: [PATCH] Add missing overloads (#1500) --- .../gtnewhorizons/angelica/glsm/GLStateManager.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java b/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java index 6a562c0ea..eff15e296 100644 --- a/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java +++ b/src/main/java/com/gtnewhorizons/angelica/glsm/GLStateManager.java @@ -2032,6 +2032,12 @@ public class GLStateManager { } } + public static void glVertex2i(int x, int y) { + if (DisplayListManager.isRecording() || ImmediateModeRecorder.isDrawing()) { + ImmediateModeRecorder.vertex((float) x, (float) y, 0.0f); + } + } + public static void glVertex2d(double x, double y) { if (DisplayListManager.isRecording() || ImmediateModeRecorder.isDrawing()) { ImmediateModeRecorder.vertex((float) x, (float) y, 0.0f); @@ -2049,6 +2055,13 @@ public class GLStateManager { ImmediateModeRecorder.vertex((float) x, (float) y, (float) z); } } + + public static void glVertex3i(int x, int y, int z) { + if (DisplayListManager.isRecording() || ImmediateModeRecorder.isDrawing()) { + ImmediateModeRecorder.vertex((float) x, (float) y, (float) z); + } + } + public static void glDrawElements(int mode, ByteBuffer indices) { if (DisplayListManager.isRecording()) { throw new UnsupportedOperationException("glDrawElements in display lists not yet implemented - if you see this, please report!");