using OpenGL buffer objects with SDL

Started by
11 comments, last by CodeMunkie 16 years, 2 months ago
Where is your call to SDL_SetVideoMode(SDL_OPENGL) ?
"When you die, if you get a choice between going to regular heaven or pie heaven, choose pie heaven. It might be a trick, but if it's not, mmmmmmm, boy."
How to Ask Questions the Smart Way.
Advertisement
It comes after the code I posted. I moved the opengl code after setVideoMode() and now glGenBuffers returns 1. GL_VERSION is 2.1.2. Thank you very much for your fast replys, now I can sleep well :)
Yup, that'll do it. Glad it's working.
"When you die, if you get a choice between going to regular heaven or pie heaven, choose pie heaven. It might be a trick, but if it's not, mmmmmmm, boy."
How to Ask Questions the Smart Way.

This topic is closed to new replies.

Advertisement