Update graphics error message, don't try drawing after.
This commit is contained in:
parent
bad08f88a0
commit
176b308128
|
@ -323,7 +323,9 @@ bool EDA_DRAW_PANEL_GAL::DoRePaint()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// We're well and truly banjaxed if we get here without a fallback.
|
// 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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue