Fixed build for eeschema.

This commit is contained in:
Maciej Suminski 2013-05-14 10:46:43 +02:00
parent c55e063745
commit 135149e2d3
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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();