title: Drawing text onto an OpenGL surface using SDL
body: <p>I'm using SDL, I have OpenGL rendering setup, I want to draw some text to the screen.</p>
  
  <p>I found this question: <a href="https://stackoverflow.com/questions/5289447/using-sdl-ttf-with-opengl">Using SDL_ttf with OpenGL</a> which seems to address the same concern, but I think my GL-fu isn't good enough to understand what to do next.</p>
  
  <p>Ie, I have the <code>texture</code> from that other post, which, if I understand everything correctly, is an integer ID representing a GL texture that contains the rendered text. How do I actually render this texture onto my screen (everything's 2D here so I just want to render it as flat text on the screen, not onto some fancy surface in a 3D scene or anything).</p>
  
  <p>Alternatively, is there any easier way of getting this working? (ie, rendering some text via SDL while also being able to render GL shapes)</p>
  
  <p>edit: Or, even more generally, is there an easier way of being able to render both text and shapes onto the screen via SDL?</p>