Ported OpenGL example to Linux