Problems with Shaders in OpenGL

后端 未结 1 1996
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 04:05

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

1条回答
  •  [愿得一人]
    2021-01-26 04:40

    On windows, anything beyond GL1.1 must be loaded via the extension mechansim. The most convenient way to do so is by using a GL loader like glew.

    0 讨论(0)
提交回复
热议问题