mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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)
|
||||
{
|
||||
bind_target_canvas();
|
||||
GL::clear_color(color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue