MacOSX: disabling BufferedBitmap of OSX in gerbview, not supported nor accelerable and bitmap becomes too large in case of retina display to be usable
This commit is contained in:
parent
31332c3973
commit
eb3ba80643
|
@ -154,9 +154,13 @@ void GBR_LAYOUT::Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, GR_DRAWMODE aDrawMode,
|
|||
// on other images when drawn on screen
|
||||
bool useBufferBitmap = false;
|
||||
|
||||
#ifndef __WXMAC__
|
||||
// Can't work with MAC
|
||||
// Don't try this with retina display
|
||||
if( (aDrawMode == GR_COPY) || ( aDrawMode == GR_OR ) )
|
||||
useBufferBitmap = true;
|
||||
|
||||
#endif
|
||||
|
||||
// these parameters are saved here, because they are modified
|
||||
// and restored later
|
||||
EDA_RECT drawBox = *aPanel->GetClipBox();
|
||||
|
|
Loading…
Reference in New Issue