Reset offset and clipping rect before using direct drawing

This commit is contained in:
Raphael Coeffic
2022-06-18 06:13:31 +02:00
parent c4fc11b79a
commit 4444b71add
+1
View File
@@ -197,6 +197,7 @@ void lcdInitDirectDrawing()
draw_ctx->buf_area = &screen_area;
draw_ctx->clip_area = &screen_area;
lcd->setData((pixel_t*)draw_ctx->buf);
lcd->reset();
}
//