I'm running into a very strange OpenGL bug, where calling glCreateShader
works several times, and then at a later point I try to call it and it fails, returning 0. Calling glGetError
immediately afterwards also returns 0, indicating no error. Searching around, I see questions about glCreateShader
never working, which is not the case here, and a few people mentioning that it can return 0 if called between glBegin
and glEnd
, which I'm not using. Looking around, I don't see any obvious things in the call stack that should indicate I'm doing something strange with OpenGL.
glGetString(GL_VERSION)
returns "4.3.0 - Build 10.18.10.3977", in case that helps.
Anyone have any idea what's going on here?