mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/WebGL: Mark clear as a draw operation instead of clearColor
This commit is contained in:
parent
e26b524721
commit
4e33d8e577
Notes:
github-actions[bot]
2025-01-08 15:00:29 +00:00
Author: https://github.com/Lubrsi
Commit: 4e33d8e577
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2943
Reviewed-by: https://github.com/kalenikaliaksandr
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ static bool is_webgl_object_type(StringView type_name)
|
|||
|
||||
static bool gl_function_modifies_framebuffer(StringView function_name)
|
||||
{
|
||||
return function_name == "clearColor"sv
|
||||
return function_name == "clear"sv
|
||||
|| function_name == "drawArrays"sv
|
||||
|| function_name == "drawElements"sv
|
||||
|| function_name == "blitFramebuffer"sv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue