Commit 135149e2 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed build for eeschema.

parent c55e0637
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -153,6 +153,9 @@ void EDA_DRAW_PANEL_GAL::SwitchBackend( GalType aGalType, bool aUseShaders )
    m_gal->SetScreenDPI( 106 );                                     // Display resolution setting
    m_gal->ComputeWorldScreenMatrix();

    if( m_painter )
        m_painter->SetGAL( m_gal );

    if( m_view )
    {
        m_view->SetGAL( m_gal );
+0 −3
Original line number Diff line number Diff line
@@ -205,9 +205,6 @@ void VIEW::SetGAL( GAL* aGal )
{
    m_gal = aGal;

    if( m_painter )
        m_painter->SetGAL( m_gal );

    // clear group numbers, so everything is going to be recached
    if( m_useGroups )
        clearGroupCache();