how to get FPS display in OPENGL