Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.72 KB  |  views: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Creating the render context
  2. =========================================
  3.  
  4. Proin ut nisi orci. Vestibulum tellus tortor, sagittis nec lacinia et, ornare et purus. Vivamus aliquet volutpat nunc at volutpat.
  5.  
  6. Nunc diam arcu, volutpat in venenatis eget, congue vitae mi. In quam mi, porta non rutrum vel, pulvinar sodales ante.
  7.  
  8. Mauris consequat ultrices sem, vel varius nibh posuere at.
  9.  
  10. The Code
  11. ----------
  12.  
  13. Cras nec magna quis nisi sagittis molestie. Nam dapibus mi ac nunc blandit rhoncus. Morbi malesuada, elit at sodales luctus
  14.  
  15. Phasellus pharetra libero non diam posuere vitae mollis eros malesuada:
  16.  
  17.         glClearColor( 1.0f, 0.0f, 0.0f, 1.0f );
  18.         glClear( GL_COLOR_BUFFER_BIT );
  19.  
  20. Nullam et magna nec felis rutrum vestibulum.