KhronosGroup / OpenGL-Refpages

OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
427 stars 134 forks source link

Typo in glUniformBlockBinding #71

Closed teldosas closed 4 years ago

teldosas commented 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.

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?

teldosas commented 4 years ago

I guess the typo is in the red book after all