I am making this game using SDL and I need to be able to text displayed for variables and information etc. The problem is I can't render any text while SDL_OPENGL is a parameter in SDL_SetVideoMode().
It works perfectly without but then I cant render any of my graphics. Obviously I need both and I rather not go about drawing images for text.
TL;DR I need to draw text without removing SDL_OPENGL from SDL_SetVideoMode(SCREEN_WIDTH,SCREEN_HEIGHT,32,SDL_SWSURFACE | SDL_OPENGL);
I am using C++ and code::blocks if it help. Any other information needed?