Compiling a shader and linking fail but verification of the shader succeeds
问题 I'm rather confused about what my shaders are doing. I have a shader class which wraps the opengl parts of the shading for me. I build my application in code::blocks and run it, the compile fase fails, the linking stage fails but the verification with GL_VALIDATE_STATUS succeeds and the shader actually works. When I run it outside the codeblocks IDE the compile and linking stage succeeds and so does verification. When run in the IDE the ProgramLog and InfoLog are empty not even warnings but