mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +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: 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…
Add table
Add a link
Reference in a new issue