mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-18 11:45:55 +00:00
Use glGetProgramiv for LINK_STATUS, not glGetShaderiv
This commit is contained in:
@@ -187,7 +187,7 @@ GLuint GLReplay::CreateShaderProgram(const vector<string> &vsSources,
|
||||
|
||||
gl.glLinkProgram(ret);
|
||||
|
||||
gl.glGetShaderiv(ret, eGL_LINK_STATUS, &status);
|
||||
gl.glGetProgramiv(ret, eGL_LINK_STATUS, &status);
|
||||
if(status == 0)
|
||||
{
|
||||
gl.glGetProgramInfoLog(ret, 1024, NULL, buffer);
|
||||
|
||||
Reference in New Issue
Block a user