VBO crashes

BlitzMax Forums/BlitzMax OpenGL Programming/VBO crashes

I finally tracked it down. If I call glBindBuffer() outside the method, it works fine. If I can glBindBuffer() with the same exact parameters inside the method, I get a crash!