Skip to content

Commit

Permalink
Map glGetActiveUniform(III)String to glGetActiveUniformName(III)String
Browse files Browse the repository at this point in the history
Rongmario committed Jan 5, 2024
1 parent fe3e25b commit 1e11ed7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/lwjgl/opengl/GL20.java
Original file line number Diff line number Diff line change
@@ -151,6 +151,10 @@ public static void glGetActiveAttrib(int program, int index, java.nio.IntBuffer
org.lwjgl3.opengl.GL20.glGetActiveAttrib(program, index, length, size, type, name);
}

public static String glGetActiveUniform(int program, int index, int maxLength) {
return org.lwjgl3.opengl.GL31C.glGetActiveUniformName(program, index, maxLength);
}

public static void glGetActiveUniform(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size,
java.nio.IntBuffer type, java.nio.ByteBuffer name) {
org.lwjgl3.opengl.GL20.glGetActiveUniform(program, index, length, size, type, name);

0 comments on commit 1e11ed7

Please sign in to comment.