mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibAccelGfx: Add missing bind_target_canvas()
in Painter::clear()
This commit is contained in:
parent
1e90379008
commit
55c483b763
Notes:
sideshowbarker
2024-07-17 11:33:34 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/55c483b763 Pull-request: https://github.com/SerenityOS/serenity/pull/22322
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…
Reference in a new issue