I am attempting to plot something simple like a triangle using VBO's.
The example code is provided on github here:
The following 'using' statements compile for me properly.
using SharpGL;
using SharpGL.SceneGraph;
using SharpGL.VertexBuffers;
My program crashes at this line:
vertexBufferArray.Create(gl);
It gives me the following exception:
An unhandled exception of type 'System.Exception' occurred in SharpGL.dll
Additional information: Extension function glGenVertexArrays not supported
Why would the program compile with the Create() function if one of its dependencies is not supported? What exactly is the best way to determine if the dependency is actually available and how to properly install it?