I am trying to make a tessilation shader from scratch. It shows “GL_TESS_CONTROL_SHADER was not declared in this scope” and “GL_TESS_CONTROL_SHADER was not declared in this scope”. Please let me know where I am wrong.
Link to Code
Thanks and Regards,
From your output, the Utils.h is missing. Are you using some extension loader like glew? You have to include something that defines the GL_TESS_CONTROL_SHADER constant and loads the openGL functions at runtime.
Thanks menzel. Actually, problem was that I didn’t use the latest GLEW library.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.