glGenVertexArrays causes a segmentation fault, how do I properly set up an OpenGL context?

前端 未结 0 1643
走了就别回头了
走了就别回头了 2021-02-06 00:52

I\'m trying to code a simple triangle. However glGenVertexArrays(1, &VertexArrayID) casues a segmentation fault whenever I run it.

SDL_Init(SDL_         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题