LibAccelGfx: Add missing bind_target_canvas() in Painter::clear()

This commit is contained in:
Aliaksandr Kalenik 2023-12-16 14:24:49 +01:00 committed by Andreas Kling
parent 1e90379008
commit 55c483b763
Notes: sideshowbarker 2024-07-17 11:33:34 +09:00

View File

@ -193,6 +193,7 @@ Painter::~Painter()
void Painter::clear(Gfx::Color color)
{
bind_target_canvas();
GL::clear_color(color);
}