Questions about SFML and OpenGL...

So I got into SFML and OpenGL!! and I have few questions.


1. Why do you not explicitly include OpenGL in SFML? does it already have one? if so, which version? (sorry this is really newb question)


2. Is there's difference between using OpenGL in SDL and SFML?


3. Just to see your opinion...which library do you prefer? SDL or SFML?
Last edited on
1. You don't use opengl code yourself, the library does the calls for you. SDL can let you directly write opengl code when you include it though.

2. OpenGL = renderer, SDL = game development library, SFML = game development library.

3. SDL2 has essentially all the features that SFML has, and a bit more. When SFML came out, SDL1.2 had a bad reputation for almost no hardware rendering, no rotation, old, and some other features that it lacked (but there were workarounds), and now SDL2 is above SFML.
Topic archived. No new replies allowed.