lcdRefresh() already does switch the layers, no need to do it 2 steps

This commit is contained in:
Raphael Coeffic
2021-05-22 18:18:25 +02:00
parent 67ede465aa
commit 52b3388062
2 changed files with 5 additions and 4 deletions
+4
View File
@@ -430,5 +430,9 @@ class BitmapBuffer: public BitmapBufferBase<pixel_t>
bool liangBarskyClipper(coord_t& x1, coord_t& y1, coord_t& x2, coord_t& y2);
};
// Back buffer to draw
extern BitmapBuffer * lcd;
// Buffer currently on display
extern BitmapBuffer * lcdFront;