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