ofAppGlutWindow settings

Hello again

Am trying to educate myself a little. For a long time I’ve used the following to start an app:

ofAppGlutWindow window;
window.setGlutDisplayString("rgba double depth alpha samples>=24");
ofSetupOpenGL(&window, 1440, 900, OF_FULLSCREEN);

Which works fine. The app in question includes a lot of line intersection and ofPath construction.

Recently I’ve tried omitting the ‘&window’ settings; which throttles the frame rate heavily, from >60fps in the above, down to <10fps. Nothing else is changed. What is being drawn to the screen does not seem too demanding to me (a load of line segments, some circles and a few ofPath objects).

Can someone explain what the difference is here, or what might be going on? As if to a small child?