div>
<div class="line"></div>
<div class="line">        glViewport(0, 0, width, height);</div>
<div class="line">        glClear(GL_COLOR_BUFFER_BIT);</div>
<div class="line"></div>
<div class="line">        glMatrixMode(GL_PROJECTION);</div>
<div class="line">        glLoadIdentity();</div>
<div class="line">        glOrtho(-ratio, ratio, -1.f, 1.f, 1.f, -1.f);</div>
<div class="line">        glMatrixMode(GL_MODELVIEW);</div>
<div class="line"></div>
<div class="line">        glLoadIdentity();</div>
<div c