diff options
Diffstat (limited to 'gm/lcdtext.cpp')
-rw-r--r-- | gm/lcdtext.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gm/lcdtext.cpp b/gm/lcdtext.cpp index 41e83d68fd..a48856f603 100644 --- a/gm/lcdtext.cpp +++ b/gm/lcdtext.cpp @@ -146,13 +146,8 @@ DEF_SIMPLE_GM(savelayer_lcdtext, canvas, 620, 260) { for (auto preserve : gPreserveLCDText) { preserve ? canvas->saveLayerPreserveLCDTextRequests(nullptr, nullptr) : canvas->saveLayer(nullptr, nullptr); - if (preserve) { - SkPaint noLCD = paint; - noLCD.setLCDRenderText(false); - canvas->drawString("LCD not supported", 30, 60, noLCD); - } else { - canvas->drawString("Hamburgefons", 30, 60, paint); - } + + canvas->drawString("Hamburgefons", 30, 60, paint); SkPaint p; p.setColor(0xFFCCCCCC); |