2 minutes ago, DerTroll said:You are asking for the ShaderSourceLength in line 74. From the name I would think it is the length of the shader code and not of the error log. You should use InfoLogLength:
yes you are right i am sorry it returns 0 if loglength is used