where did i do wrong?

BlitzMax Forums/OpenGL Module/where did i do wrong?

Akat(Posted 2006) [#1]
where did i do wrong here?




Akat(Posted 2006) [#2]
anyone can run this?


fredborg(Posted 2006) [#3]
You need to call glewInit() before using OpenGL extensions, such as glGenBuffers. Additionally you need to initialize your gl context before starting to bind anything. So use this:
setupProjection()
glewInit()
Init()