Skip to content

ngl: Fix crash at startup

Benjamin Otte requested to merge wip/otte/for-main into main

Commit 15804906 included a reordering of acquiring the frame before making the context current.

Sometimes (like at startup) new frames need to be created.

Setting up a new frame assumed the GL context was current.

Change it so that we delay the one GL setup we do in frames until later.

Merge request reports