glCreateShader EXCEPTION_ACCESS_VIOLATION

BlitzMax Forums/BlitzMax Programming/glCreateShader EXCEPTION_ACCESS_VIOLATION

juankprada(Posted 2014) [#1]
Hi all,

I updated glew.bmax and opengl.bmax using the instructions and source from this post to make available certain OpenGL commands I need

Now when I call glCreateShader(GL_VERTEX_SHADER) i get an EXCEPTION_ACCESS_VIOLATION message and of course my app just hangs.

Any idea what might be the cause?

Thanks


juankprada(Posted 2014) [#2]
never mind. I had to call glewInit().

I thought it was actually called by glmax2d module