[Return]

Report a post

Preview
Maybe it doesn't like the nullptr for some reason, try swapping it for a length just to see if it works.

"shader is not a value generated by OpenGL" would mean that glCreateShader() failed, did you check if it returns a valid value?
Post number No.143933
Board Off-Topic@Heyuri
Optional. Describe what's wrong with it.