fix crash with 'load shaders at startup' (was occuring before ogl init)

This commit is contained in:
Garux
2022-10-28 09:50:44 +03:00
parent b701e17d6b
commit e445a2635a
3 changed files with 2 additions and 5 deletions

View File

@@ -1633,6 +1633,8 @@ protected:
void initializeGL() override
{
glwidget_context_created( *this );
// show definitely after gl init, otherwise crash
TextureBrowser_ShowStartupShaders();
}
void resizeGL( int w, int h ) override
{