nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

Replaced with draw_all() that already has autorelease pool around it

Open piotrkundu opened this issue 3 years ago • 1 comments

#98

piotrkundu avatar Dec 16 '21 09:12 piotrkundu

Hi Piotr,

draw_all() of course subsumes all this, but the point of this example was to show a bit more how a larger portion of the framework setup/draw calls can be moved over to a hand-written main loop. Perhaps you could change the PR to simply a comment that says

/* Alternatively call 'screen->draw_all();' that subsumes all of the above steps,
   including setting up an autorelease pool on macOS / Metal targets */

wjakob avatar Dec 16 '21 10:12 wjakob