PDA

View Full Version : C++/OpenGL/SDL



Mallot1
10-28-2012, 02:25 PM
What do i need in my code file to allow OpenGL in SDL to run OpenGL code.:tired::):dejection::sick:

dirk103
11-01-2012, 12:23 AM
you sound confused, haha

May I recommend you try Code::Blocks IDE with MinGW compiler included?
Also, you may find SFML more useful and friendly than SDL.

think of SDL, or SFML, as a container for your program to run in. It makes things you would want to do with OpenGL, easier to do.


http://sfml-dev.org/tutorials/1.6/window-opengl.php

There is a nice easy example program that lets you just head first into OpenGL.
If you'd like some help setting up your development environment, let me know.