[SDL] Linux, OpenGl, VBO and SDL?
prefect_ at gmx.net
Fri Jan 21 04:41:46 PST 2005
On Thursday 20 January 2005 18:01, Christiane U. wrote:
> I want to use VBOs under Linux/C and found some code samples that use SDL
> to call the functions of the openGL extension.
> Do you know another way, without SDL? If not, is this the right way to use
> It crashes while calling glDrawArrays :(
> Any suggestions?
You seem to be very confused. You're mixing GLUT and SDL in the same
program. Both SDL and GLUT serve the same purpose in this context (namely
setting up an OpenGL window and rendering context for you), so mixing them
is a) pointless and b) likely to cause problems like the one you've
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the SDL