I'm trying to use stuff like glShaderSource in C++. Visual Studio says that functions like glCompileShader or glCreateProgram dont exist. I use FreeGLUT to include OpenGL. Does anybody have an idea how I can fix this?
来源:https://stackoverflow.com/questions/20722756/problems-with-shaders-in-opengl