From ec40545bf3be465323c34ff01ece85568a340798 Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Sat, 28 Feb 2026 14:10:22 +0000 Subject: [PATCH] Delete APPLE class stubs that are now part of lwjgl3 itself, fixes VAO crash --- .../lwjgl/opengl/APPLEAuxDepthStencil.java | 7 --- .../org/lwjgl/opengl/APPLEClientStorage.java | 7 --- .../org/lwjgl/opengl/APPLEElementArray.java | 38 --------------- .../java/org/lwjgl/opengl/APPLEFence.java | 48 ------------------- .../org/lwjgl/opengl/APPLEFloatPixels.java | 20 -------- .../lwjgl/opengl/APPLEFlushBufferRange.java | 16 ------- .../lwjgl/opengl/APPLEObjectPurgeable.java | 28 ----------- .../org/lwjgl/opengl/APPLEPackedPixels.java | 18 ------- .../java/org/lwjgl/opengl/APPLERgb422.java | 9 ---- .../java/org/lwjgl/opengl/APPLERowBytes.java | 8 ---- .../org/lwjgl/opengl/APPLETextureRange.java | 20 -------- .../lwjgl/opengl/APPLEVertexArrayObject.java | 31 ------------ .../lwjgl/opengl/APPLEVertexArrayRange.java | 27 ----------- .../opengl/APPLEVertexProgramEvaluators.java | 48 ------------------- .../java/org/lwjgl/opengl/APPLEYcbcr422.java | 9 ---- 15 files changed, 334 deletions(-) delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEAuxDepthStencil.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEClientStorage.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEElementArray.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEFence.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEFloatPixels.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEFlushBufferRange.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEObjectPurgeable.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEPackedPixels.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLERgb422.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLERowBytes.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLETextureRange.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEVertexArrayObject.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEVertexArrayRange.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEVertexProgramEvaluators.java delete mode 100644 src/generated/java/org/lwjgl/opengl/APPLEYcbcr422.java diff --git a/src/generated/java/org/lwjgl/opengl/APPLEAuxDepthStencil.java b/src/generated/java/org/lwjgl/opengl/APPLEAuxDepthStencil.java deleted file mode 100644 index 79b986e..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEAuxDepthStencil.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEAuxDepthStencil { - - public static final int GL_AUX_DEPTH_STENCIL_APPLE = (int) 35348; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEClientStorage.java b/src/generated/java/org/lwjgl/opengl/APPLEClientStorage.java deleted file mode 100644 index 5be9784..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEClientStorage.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEClientStorage { - - public static final int GL_UNPACK_CLIENT_STORAGE_APPLE = (int) 34226; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEElementArray.java b/src/generated/java/org/lwjgl/opengl/APPLEElementArray.java deleted file mode 100644 index aab6178..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEElementArray.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEElementArray { - - public static final int GL_ELEMENT_ARRAY_APPLE = (int) 34664; - public static final int GL_ELEMENT_ARRAY_POINTER_APPLE = (int) 34666; - public static final int GL_ELEMENT_ARRAY_TYPE_APPLE = (int) 34665; - - public static void glDrawElementArrayAPPLE(int arg0, int arg1, int arg2) { - throw new UnsupportedOperationException(); - } - - public static void glDrawRangeElementArrayAPPLE(int arg0, int arg1, int arg2, int arg3, int arg4) { - throw new UnsupportedOperationException(); - } - - public static void glElementPointerAPPLE(java.nio.ByteBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static void glElementPointerAPPLE(java.nio.IntBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static void glElementPointerAPPLE(java.nio.ShortBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static void glMultiDrawElementArrayAPPLE(int arg0, java.nio.IntBuffer arg1, java.nio.IntBuffer arg2) { - throw new UnsupportedOperationException(); - } - - public static void glMultiDrawRangeElementArrayAPPLE(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3, - java.nio.IntBuffer arg4) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEFence.java b/src/generated/java/org/lwjgl/opengl/APPLEFence.java deleted file mode 100644 index 8f27517..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEFence.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEFence { - - public static final int GL_DRAW_PIXELS_APPLE = (int) 35338; - public static final int GL_FENCE_APPLE = (int) 35339; - - public static void glDeleteFencesAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static void glDeleteFencesAPPLE(java.nio.IntBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static void glFinishFenceAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static void glFinishObjectAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - - public static int glGenFencesAPPLE() { - throw new UnsupportedOperationException(); - } - - public static void glGenFencesAPPLE(java.nio.IntBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static boolean glIsFenceAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static void glSetFenceAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static boolean glTestFenceAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static boolean glTestObjectAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEFloatPixels.java b/src/generated/java/org/lwjgl/opengl/APPLEFloatPixels.java deleted file mode 100644 index f3d5d27..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEFloatPixels.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEFloatPixels { - - public static final int GL_ALPHA_FLOAT16_APPLE = (int) 34844; - public static final int GL_ALPHA_FLOAT32_APPLE = (int) 34838; - public static final int GL_COLOR_FLOAT_APPLE = (int) 35343; - public static final int GL_HALF_APPLE = (int) 5131; - public static final int GL_INTENSITY_FLOAT16_APPLE = (int) 34845; - public static final int GL_INTENSITY_FLOAT32_APPLE = (int) 34839; - public static final int GL_LUMINANCE_ALPHA_FLOAT16_APPLE = (int) 34847; - public static final int GL_LUMINANCE_ALPHA_FLOAT32_APPLE = (int) 34841; - public static final int GL_LUMINANCE_FLOAT16_APPLE = (int) 34846; - public static final int GL_LUMINANCE_FLOAT32_APPLE = (int) 34840; - public static final int GL_RGBA_FLOAT16_APPLE = (int) 34842; - public static final int GL_RGBA_FLOAT32_APPLE = (int) 34836; - public static final int GL_RGB_FLOAT16_APPLE = (int) 34843; - public static final int GL_RGB_FLOAT32_APPLE = (int) 34837; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEFlushBufferRange.java b/src/generated/java/org/lwjgl/opengl/APPLEFlushBufferRange.java deleted file mode 100644 index 09a941a..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEFlushBufferRange.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEFlushBufferRange { - - public static final int GL_BUFFER_FLUSHING_UNMAP_APPLE = (int) 35347; - public static final int GL_BUFFER_SERIALIZED_MODIFY_APPLE = (int) 35346; - - public static void glBufferParameteriAPPLE(int arg0, int arg1, int arg2) { - throw new UnsupportedOperationException(); - } - - public static void glFlushMappedBufferRangeAPPLE(int arg0, long arg1, long arg2) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEObjectPurgeable.java b/src/generated/java/org/lwjgl/opengl/APPLEObjectPurgeable.java deleted file mode 100644 index 99c9352..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEObjectPurgeable.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEObjectPurgeable { - - public static final int GL_BUFFER_OBJECT_APPLE = (int) 34227; - public static final int GL_PURGEABLE_APPLE = (int) 35357; - public static final int GL_RELEASED_APPLE = (int) 35353; - public static final int GL_RETAINED_APPLE = (int) 35355; - public static final int GL_UNDEFINED_APPLE = (int) 35356; - public static final int GL_VOLATILE_APPLE = (int) 35354; - - public static void glGetObjectParameterAPPLE(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3) { - throw new UnsupportedOperationException(); - } - - public static int glGetObjectParameteriAPPLE(int arg0, int arg1, int arg2) { - throw new UnsupportedOperationException(); - } - - public static int glObjectPurgeableAPPLE(int arg0, int arg1, int arg2) { - throw new UnsupportedOperationException(); - } - - public static int glObjectUnpurgeableAPPLE(int arg0, int arg1, int arg2) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEPackedPixels.java b/src/generated/java/org/lwjgl/opengl/APPLEPackedPixels.java deleted file mode 100644 index 389744e..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEPackedPixels.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEPackedPixels { - - public static final int GL_UNSIGNED_BYTE_2_3_3_REV = (int) 33634; - public static final int GL_UNSIGNED_BYTE_3_3_2 = (int) 32818; - public static final int GL_UNSIGNED_INT_10_10_10_2 = (int) 32822; - public static final int GL_UNSIGNED_INT_2_10_10_10_REV = (int) 33640; - public static final int GL_UNSIGNED_INT_8_8_8_8 = (int) 32821; - public static final int GL_UNSIGNED_INT_8_8_8_8_REV = (int) 33639; - public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = (int) 33638; - public static final int GL_UNSIGNED_SHORT_4_4_4_4 = (int) 32819; - public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = (int) 33637; - public static final int GL_UNSIGNED_SHORT_5_5_5_1 = (int) 32820; - public static final int GL_UNSIGNED_SHORT_5_6_5 = (int) 33635; - public static final int GL_UNSIGNED_SHORT_5_6_5_REV = (int) 33636; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLERgb422.java b/src/generated/java/org/lwjgl/opengl/APPLERgb422.java deleted file mode 100644 index 3f9ff24..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLERgb422.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLERgb422 { - - public static final int GL_RGB_422_APPLE = (int) 35359; - public static final int GL_UNSIGNED_SHORT_8_8_APPLE = (int) 34234; - public static final int GL_UNSIGNED_SHORT_8_8_REV_APPLE = (int) 34235; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLERowBytes.java b/src/generated/java/org/lwjgl/opengl/APPLERowBytes.java deleted file mode 100644 index eb3a77d..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLERowBytes.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLERowBytes { - - public static final int GL_PACK_ROW_BYTES_APPLE = (int) 35349; - public static final int GL_UNPACK_ROW_BYTES_APPLE = (int) 35350; - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLETextureRange.java b/src/generated/java/org/lwjgl/opengl/APPLETextureRange.java deleted file mode 100644 index 2aa20e3..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLETextureRange.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLETextureRange { - - public static final int GL_STORAGE_CACHED_APPLE = (int) 34238; - public static final int GL_STORAGE_PRIVATE_APPLE = (int) 34237; - public static final int GL_STORAGE_SHARED_APPLE = (int) 34239; - public static final int GL_TEXTURE_RANGE_LENGTH_APPLE = (int) 34231; - public static final int GL_TEXTURE_RANGE_POINTER_APPLE = (int) 34232; - public static final int GL_TEXTURE_STORAGE_HINT_APPLE = (int) 34236; - - public static java.nio.Buffer glGetTexParameterPointervAPPLE(int arg0, int arg1, long arg2) { - throw new UnsupportedOperationException(); - } - - public static void glTextureRangeAPPLE(int arg0, java.nio.ByteBuffer arg1) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayObject.java b/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayObject.java deleted file mode 100644 index 0a1513e..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayObject.java +++ /dev/null @@ -1,31 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEVertexArrayObject { - - public static final int GL_VERTEX_ARRAY_BINDING_APPLE = (int) 34229; - - public static void glBindVertexArrayAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static void glDeleteVertexArraysAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - - public static void glDeleteVertexArraysAPPLE(java.nio.IntBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static int glGenVertexArraysAPPLE() { - throw new UnsupportedOperationException(); - } - - public static void glGenVertexArraysAPPLE(java.nio.IntBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static boolean glIsVertexArrayAPPLE(int arg0) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayRange.java b/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayRange.java deleted file mode 100644 index 6439e5a..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEVertexArrayRange.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEVertexArrayRange { - - public static final int GL_DRAW_PIXELS_APPLE = (int) 35338; - public static final int GL_FENCE_APPLE = (int) 35339; - public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE = (int) 34080; - public static final int GL_STORAGE_CACHED_APPLE = (int) 34238; - public static final int GL_STORAGE_SHARED_APPLE = (int) 34239; - public static final int GL_VERTEX_ARRAY_RANGE_APPLE = (int) 34077; - public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = (int) 34078; - public static final int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = (int) 34081; - public static final int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = (int) 34079; - - public static void glFlushVertexArrayRangeAPPLE(java.nio.ByteBuffer arg0) { - throw new UnsupportedOperationException(); - } - - public static void glVertexArrayParameteriAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - - public static void glVertexArrayRangeAPPLE(java.nio.ByteBuffer arg0) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEVertexProgramEvaluators.java b/src/generated/java/org/lwjgl/opengl/APPLEVertexProgramEvaluators.java deleted file mode 100644 index 477da54..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEVertexProgramEvaluators.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEVertexProgramEvaluators { - - public static final int GL_VERTEX_ATTRIB_MAP1_APPLE = (int) 35328; - public static final int GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = (int) 35331; - public static final int GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = (int) 35333; - public static final int GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = (int) 35332; - public static final int GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = (int) 35330; - public static final int GL_VERTEX_ATTRIB_MAP2_APPLE = (int) 35329; - public static final int GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = (int) 35335; - public static final int GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = (int) 35337; - public static final int GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = (int) 35336; - public static final int GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = (int) 35334; - - public static void glDisableVertexAttribAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - - public static void glEnableVertexAttribAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - - public static boolean glIsVertexAttribEnabledAPPLE(int arg0, int arg1) { - throw new UnsupportedOperationException(); - } - - public static void glMapVertexAttrib1dAPPLE(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, - java.nio.DoubleBuffer arg6) { - throw new UnsupportedOperationException(); - } - - public static void glMapVertexAttrib1fAPPLE(int arg0, int arg1, float arg2, float arg3, int arg4, int arg5, - java.nio.FloatBuffer arg6) { - throw new UnsupportedOperationException(); - } - - public static void glMapVertexAttrib2dAPPLE(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5, - double arg6, double arg7, int arg8, int arg9, java.nio.DoubleBuffer arg10) { - throw new UnsupportedOperationException(); - } - - public static void glMapVertexAttrib2fAPPLE(int arg0, int arg1, float arg2, float arg3, int arg4, int arg5, - float arg6, float arg7, int arg8, int arg9, java.nio.FloatBuffer arg10) { - throw new UnsupportedOperationException(); - } - -} diff --git a/src/generated/java/org/lwjgl/opengl/APPLEYcbcr422.java b/src/generated/java/org/lwjgl/opengl/APPLEYcbcr422.java deleted file mode 100644 index 7a28d4c..0000000 --- a/src/generated/java/org/lwjgl/opengl/APPLEYcbcr422.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.lwjgl.opengl; - -public class APPLEYcbcr422 { - - public static final int GL_UNSIGNED_SHORT_8_8_APPLE = (int) 34234; - public static final int GL_UNSIGNED_SHORT_8_8_REV_APPLE = (int) 34235; - public static final int GL_YCBCR_422_APPLE = (int) 34233; - -}