Fix build.

This commit is contained in:
Jeff Young 2023-10-25 18:41:45 +01:00
parent 6a2aeeeae2
commit a3fc07b6a0
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ bool GAL_OPTIONS_PANEL::TransferDataFromWindow()
m_cfg->m_Window.cursor.always_show_cursor = m_forceCursorDisplay->GetValue();
#ifndef __WXMAC__
m_cfg->m_Graphics.canvas_type = m_renderingEngine->GetSelection() == 0 ?
m_cfg->m_Graphics.canvas_type = m_rbAccelerated->GetValue() ?
EDA_DRAW_PANEL_GAL::GAL_TYPE_OPENGL :
EDA_DRAW_PANEL_GAL::GAL_TYPE_CAIRO;
#endif