Update graphics error message, don't try drawing after.

This commit is contained in:
Alex Shvartzkop 2023-07-10 09:25:42 +05:00
parent bad08f88a0
commit 176b308128
1 changed files with 3 additions and 1 deletions

View File

@ -323,7 +323,9 @@ bool EDA_DRAW_PANEL_GAL::DoRePaint()
else
{
// We're well and truly banjaxed if we get here without a fallback.
DisplayInfoMessage( m_parent, _( "Could not use OpenGL" ), wxString( err.what() ) );
DisplayErrorMessage( m_parent, _( "Graphics error" ), wxString( err.what() ) );
StopDrawing();
}
}