Closed teldosas closed 4 years ago
https://github.com/KhronosGroup/OpenGL-Refpages/blob/dff0e9741499c15b956964fa63117a08ddefbe6c/gl4/glUniformBlockBinding.xml#L59-L62
So here it states that program is a program for which glLinkProgram() has been called in the past.
program
glLinkProgram()
But here: https://github.com/KhronosGroup/OpenGL-Refpages/blob/dff0e9741499c15b956964fa63117a08ddefbe6c/gl4/glUniformBlockBinding.xml#L69-L71
it states that when a program is linked the binding point is reset.
also in the red book states that glUniformBlockBinding has to be called before glLinkProgram so I assume this is a typo?
glUniformBlockBinding
glLinkProgram
I guess the typo is in the red book after all
https://github.com/KhronosGroup/OpenGL-Refpages/blob/dff0e9741499c15b956964fa63117a08ddefbe6c/gl4/glUniformBlockBinding.xml#L59-L62
So here it states that
program
is a program for whichglLinkProgram()
has been called in the past.But here: https://github.com/KhronosGroup/OpenGL-Refpages/blob/dff0e9741499c15b956964fa63117a08ddefbe6c/gl4/glUniformBlockBinding.xml#L69-L71
it states that when a program is linked the binding point is reset.
also in the red book states that
glUniformBlockBinding
has to be called beforeglLinkProgram
so I assume this is a typo?