mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-28 00:08:19 +00:00
LibWeb/WebGL: Mark clear as a draw operation instead of clearColor
This commit is contained in:
committed by
Alexander Kalenik
parent
e26b524721
commit
4e33d8e577
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user