This simple Opengl program provides a realistic simulation of a Windows machine in a GNU/Linux environment!

This example covers:

  • Opengl context creation using GLUT
  • Texture generation in Opengl from a preloaded array of raw data
  • Callback functions from the GLUT API
  • Changes in the Opengl's render screen dimension (viewport)
  • Changes in the modelview matrix (translate)
  • Drawing primitives (quad)

Download the source code.