cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Program::setShaderStorageBlockBinding #360

Closed richardebel closed 6 years ago

richardebel commented 6 years ago

I recently encountered a difficult bug when using Program::setShaderStorageBlockBinding. globjects uses glShaderStorageBlockBinding which is for opengl version 4.3 and later and wont work with my opengl driver. I changed the code to use glUniformBlockBinding instead of glShaderStorageBlockBinding. My program now works as expected.