Browse Source

Do not persist canvas type fallback due to OpenGL failure

If the user wants to always use fallback,
they can set this option explicitly
revert-0c36e162
Jon Evans 9 months ago
parent
commit
0e8934f887
  1. 3
      common/eda_draw_frame.cpp

3
common/eda_draw_frame.cpp

@ -176,7 +176,8 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame
EDA_DRAW_FRAME::~EDA_DRAW_FRAME()
{
saveCanvasTypeSetting( m_canvasType );
if( !m_openGLFailureOccured )
saveCanvasTypeSetting( m_canvasType );
delete m_actions;
delete m_toolManager;

Loading…
Cancel
Save