Use generic ofSetupOpenGL call to support all platforms