Skip to content

Commit fc340be

Browse files
committed
Merge branch 'master' of github.com:processing/processing
2 parents 9f14315 + f27b112 commit fc340be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/processing/opengl/PJOGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ public void getProgramiv(int program, int pname, IntBuffer params) {
17011701
@Override
17021702
public String getProgramInfoLog(int program) {
17031703
int[] val = { 0 };
1704-
gl2.glGetShaderiv(program, GL2ES2.GL_INFO_LOG_LENGTH, val, 0);
1704+
gl2.glGetProgramiv(program, GL2ES2.GL_INFO_LOG_LENGTH, val, 0);
17051705
int length = val[0];
17061706

17071707
if (0 < length) {

0 commit comments

Comments
 (0)