title: Rendering text with SDL2 and OpenGL
body: <p>I've been trying to have text rendering in my OpenGL scene using SDL2. The tutorial I came across is this one <a href="http://headerphile.blogspot.co.uk/2014/07/sdl2-part-10-text-rendering.html" rel="nofollow noreferrer">Rendering text</a></p>
  
  <p>I followed the same code, and I get text rendering fine. However the issue I'm having is that there is obviously a "conflict" between the OpenGL rendering and the <code>SDL_Renderer</code> used in the code. When I run my scene the text displays but everything else keeps flickering. The following gif shows the issue:</p>
  
  <p><img src="https://i.stack.imgur.com/SDuIW.gif" alt="enter image description here"></p>
  
  <p>Any idea on how to overcome this while still just using <code>SDL2</code> and <code>OpenGL</code>, not another library or anything.</p>