Skip to content

Commit

Permalink
Patch compiler errors in generated code again
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven committed Jun 3, 2023
1 parent 9df1855 commit 520487d
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 21 deletions.
9 changes: 0 additions & 9 deletions src/generated/java/org/lwjgl/opengl/Display.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ public static void create(org.lwjgl.opengl.PixelFormatLWJGL arg0, org.lwjgl.open
throw new UnsupportedOperationException();
}

public static void create(org.lwjgl.opengl.PixelFormatLWJGL arg0, org.lwjgl.opengl.Drawable arg1,
org.lwjgl.opengles.ContextAttribs arg2) {
throw new UnsupportedOperationException();
}

public static void create(org.lwjgl.opengl.PixelFormatLWJGL arg0, org.lwjgl.opengles.ContextAttribs arg1) {
throw new UnsupportedOperationException();
}

public static void destroy() {
throw new UnsupportedOperationException();
}
Expand Down
2 changes: 1 addition & 1 deletion src/generated/java/org/lwjgl/opengl/Pbuffer.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjgl.opengl;

public class Pbuffer extends org.lwjgl.opengl.DrawableGL {
public class Pbuffer extends org.lwjglx.opengl.DrawableGL {

public static final int BACK_LEFT_BUFFER = (int) 8325;
public static final int BACK_RIGHT_BUFFER = (int) 8326;
Expand Down
4 changes: 2 additions & 2 deletions src/generated/java/org/lwjgl/opengl/SharedDrawable.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.lwjgl.opengl;

public class SharedDrawable extends org.lwjgl.opengl.DrawableGL {
public class SharedDrawable extends org.lwjglx.opengl.DrawableGL {

public org.lwjgl.opengl.ContextGL createSharedContext() {
public org.lwjglx.opengl.ContextGL createSharedContext() {
throw new UnsupportedOperationException();
}

Expand Down
4 changes: 2 additions & 2 deletions src/generated/java/org/lwjgl/util/glu/GLU.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class GLU {
public static final int GLU_ERROR = (int) 100103;
public static final int GLU_EXTENSIONS = (int) 100801;
public static final int GLU_EXTERIOR = (int) 100123;
public static final boolean GLU_FALSE = (boolean) 0;
public static final boolean GLU_FALSE = false;
public static final int GLU_FILL = (int) 100012;
public static final int GLU_FLAT = (int) 100001;
public static final int GLU_INCOMPATIBLE_GL_VERSION = (int) 100903;
Expand Down Expand Up @@ -110,7 +110,7 @@ public class GLU {
public static final int GLU_TESS_WINDING_ODD = (int) 100130;
public static final int GLU_TESS_WINDING_POSITIVE = (int) 100132;
public static final int GLU_TESS_WINDING_RULE = (int) 100140;
public static final boolean GLU_TRUE = (boolean) 1;
public static final boolean GLU_TRUE = true;
public static final int GLU_UNKNOWN = (int) 100124;
public static final int GLU_U_STEP = (int) 100206;
public static final int GLU_VERSION = (int) 100800;
Expand Down
5 changes: 3 additions & 2 deletions src/generated/java/org/lwjglx/openal/ALC10.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ public static boolean alcCloseDevice(org.lwjglx.openal.ALCdevice device) {
public static org.lwjglx.openal.ALCcontext alcCreateContext(org.lwjglx.openal.ALCdevice arg0,
java.nio.IntBuffer arg1) {

org.lwjglx.openal.ALCcontext returnValue = org.lwjgl.openal.ALC10.alcCreateContext(arg0.device, arg1);
org.lwjglx.openal.ALCcontext returnValue = new ALCcontext(
org.lwjgl.openal.ALC10.alcCreateContext(arg0.device, arg1));

return returnValue;
}

public static org.lwjglx.openal.ALCcontext alcGetCurrentContext() {

org.lwjglx.openal.ALCcontext returnValue = org.lwjgl.openal.ALC10.alcGetCurrentContext();
org.lwjglx.openal.ALCcontext returnValue = new ALCcontext(org.lwjgl.openal.ALC10.alcGetCurrentContext());

return returnValue;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjglx.opengl;

public class ARBFragmentProgram extends org.lwjglx.opengl.ARBProgram {
public class ARBFragmentProgram extends org.lwjgl.opengl.ARBProgram {

public static final int GL_FRAGMENT_PROGRAM_ARB = (int) 34820;
public static final int GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = (int) 34827;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjglx.opengl;

public class ARBPixelBufferObject extends org.lwjglx.opengl.ARBBufferObject {
public class ARBPixelBufferObject extends org.lwjgl.opengl.ARBBufferObject {

public static final int GL_PIXEL_PACK_BUFFER_ARB = (int) 35051;
public static final int GL_PIXEL_PACK_BUFFER_BINDING_ARB = (int) 35053;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjglx.opengl;

public class ARBVertexBufferObject extends org.lwjglx.opengl.ARBBufferObject {
public class ARBVertexBufferObject extends org.lwjgl.opengl.ARBBufferObject {

public static final int GL_ARRAY_BUFFER_ARB = (int) 34962;
public static final int GL_ARRAY_BUFFER_BINDING_ARB = (int) 34964;
Expand Down
2 changes: 1 addition & 1 deletion src/generated/java/org/lwjglx/opengl/ARBVertexProgram.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjglx.opengl;

public class ARBVertexProgram extends org.lwjglx.opengl.ARBProgram {
public class ARBVertexProgram extends org.lwjgl.opengl.ARBProgram {

public static final int GL_COLOR_SUM_ARB = (int) 33880;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = (int) 34342;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.lwjglx.opengl;

public class EXTPixelBufferObject extends org.lwjglx.opengl.ARBBufferObject {
public class EXTPixelBufferObject extends org.lwjgl.opengl.ARBBufferObject {

public static final int GL_PIXEL_PACK_BUFFER_BINDING_EXT = (int) 35053;
public static final int GL_PIXEL_PACK_BUFFER_EXT = (int) 35051;
Expand Down

0 comments on commit 520487d

Please sign in to comment.