mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
LibAccelGfx: Add missing bind_target_canvas()
in Painter::clear()
This commit is contained in:
parent
1e90379008
commit
55c483b763
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ Painter::~Painter()
|
||||||
|
|
||||||
void Painter::clear(Gfx::Color color)
|
void Painter::clear(Gfx::Color color)
|
||||||
{
|
{
|
||||||
|
bind_target_canvas();
|
||||||
GL::clear_color(color);
|
GL::clear_color(color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue