Fixed build for eeschema.
This commit is contained in:
parent
c55e063745
commit
135149e2d3
|
@ -153,6 +153,9 @@ void EDA_DRAW_PANEL_GAL::SwitchBackend( GalType aGalType, bool aUseShaders )
|
||||||
m_gal->SetScreenDPI( 106 ); // Display resolution setting
|
m_gal->SetScreenDPI( 106 ); // Display resolution setting
|
||||||
m_gal->ComputeWorldScreenMatrix();
|
m_gal->ComputeWorldScreenMatrix();
|
||||||
|
|
||||||
|
if( m_painter )
|
||||||
|
m_painter->SetGAL( m_gal );
|
||||||
|
|
||||||
if( m_view )
|
if( m_view )
|
||||||
{
|
{
|
||||||
m_view->SetGAL( m_gal );
|
m_view->SetGAL( m_gal );
|
||||||
|
|
|
@ -205,9 +205,6 @@ void VIEW::SetGAL( GAL* aGal )
|
||||||
{
|
{
|
||||||
m_gal = aGal;
|
m_gal = aGal;
|
||||||
|
|
||||||
if( m_painter )
|
|
||||||
m_painter->SetGAL( m_gal );
|
|
||||||
|
|
||||||
// clear group numbers, so everything is going to be recached
|
// clear group numbers, so everything is going to be recached
|
||||||
if( m_useGroups )
|
if( m_useGroups )
|
||||||
clearGroupCache();
|
clearGroupCache();
|
||||||
|
|
Loading…
Reference in New Issue