New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PJOGL.getProgramInfoLog calls glGetShaderiv to retrieve program info log length #4659

Closed
jshrake opened this Issue Sep 11, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@jshrake
Contributor

jshrake commented Sep 11, 2016

PJOGL.getProgramInfoLog calls glGetShaderiv to get the program info log length. This produces aGL_INVALID_OPERATION error and a length < 0 preventing the return of the actual info log. The appropriate fix is to replace the call toglGetShaderiv with glGetProgramiv.

jshrake added a commit to jshrake/processing that referenced this issue Sep 11, 2016

Call glGetProgamiv to retrieve program log length
Calling glGetShaderiv to retreive the program log length produces a
GL_INVALID_OPERATION error and length < 0, preventing the return of the
actual info log. This fix replaces the call to glGetShaderiv with
glGetProgramiv.

Closes #4659

jshrake added a commit to jshrake/processing that referenced this issue Sep 11, 2016

Call glGetProgramiv to retrieve program log length
Calling glGetShaderiv to retrieve the program log length produces a
GL_INVALID_OPERATION error and length < 0, preventing the return of the
actual info log. This fix replaces the call to glGetShaderiv with
glGetProgramiv.

Closes #4659

@jshrake jshrake closed this Sep 11, 2016

@jshrake jshrake reopened this Sep 11, 2016

@benfry benfry added the opengl label Sep 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment