View Full Version : Using OpenGL with SDL

04-20-2014, 04:47 AM
I want to move my project from Win to Linux. It seems like on Linux its not easy to set up the basic window, message loop, input handling, ...so I was thinking about using SDL.
Im hearing things like "SDL provides an abstraction above OpenGL, but you can also use OpenGL normally".
Now what does this mean? Can I use OpenGL with SDL exactly the same native way I was using it (apart from setting up the context and swap-buffers), or would I have to use it through SDL functions?

04-25-2014, 08:33 AM
using openGL with SDL (or SDL2 lastly) is more easier. in general SDL wrap all openGL functions and more.
SDL allows OOP, since your program is structured in easy to update.
However, setting up the environment on Linux is very simple.