I am making a game with SDL and openGL, and I’d like to have a menu
displayed when I press escape.
I downloaded SDL_image and SDL_ttf… and after quite long hours, I
managed to have an image displayed and some text changing color when I
press up or down
To do this, I had to call several time SDL_SetVideoMode()
(once for OpenGL, and once for the image display)
but when I want to go back to the game, I call a third time
SDL_SetVideoMode() with SDL_OPENGL and I get a blue window with nothing
drawn in it…
Can anybody help me?