giawa / opengl4csharp

OpenGL 4 Bindings (partially based on OpenTK) for C#
Other
232 stars 61 forks source link

Unable to find an entry point named 'glGenBuffers' in DLL 'opengl32.dll #10

Closed IDKJustPutSomething closed 7 years ago

IDKJustPutSomething commented 7 years ago

Hello again, After not being able to fix my previous issue, losing my project, and deciding to use Glut, i began a new project. In this i have gotten no issues until i try to create a VBO. Any time i do i get this error "Unable to find an entry point named 'glGenBuffers' in DLL 'opengl32.dll"

Here is the code i have been using: vertices = new VBO<Vector3>( new Vector3[] { new Vector3(-0.5f, 0.5f, 0f), new Vector3(0.5f, 0.5f, 0) , new Vector3(0.5f, -0.5f, 0), new Vector3(-0.5f, -0.5f, 0) } );

Thanks in advanced!!!

EDIT: I have search online for a solution and updated my graphics card drivers.

EDIT2: it was a stupid mistake. I forgot to put GL.ReloadFunctions and Gl.ReloadExtensions after i created the window.