Hey all, 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 Triangle: http://codepad.org/ib3dL9Ni
Main: http://codepad.org/cT2wlaS2
Thanks and Regards,
Then you will have to declare it yourself or update your header files. If you are using glext.h, then get it from https://www.opengl.org/registry/
If you are using some loader like GLEW, then download the latest version from their website.
Thanks a lot V-Man. It worked. I just updated the GLEW.
Regards,