1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

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

View file

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