my first running opengl application running on mac os x.