View Full Version : Access Violation of Shader Subroutines

02-26-2015, 01:29 PM
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!!!