Access Violation of Shader Subroutines

Hi guys,

I’m trying shader subroutines on my codebase. My machine supports OpenGL up to version 4.5, so I think subroutine could work. But when I call subroutine functions, like glGetSubroutineUniformLocation, I got access violation.

Glew initialization has no problem. I just have no idea how to fix it. Does anybody have any ideas for this issue? Thank you so much!!!


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.