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

Fixed build for eeschema.

parent c55e0637
......@@ -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 );
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment