mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb/WebGL: Implement deleteRenderbuffer
This commit is contained in:
parent
4e33d8e577
commit
28a73dc392
Notes:
github-actions[bot]
2025-01-08 15:00:20 +00:00
Author: https://github.com/Lubrsi
Commit: 28a73dc392
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2943
Reviewed-by: https://github.com/kalenikaliaksandr
2 changed files with 9 additions and 1 deletions
|
@ -1128,6 +1128,14 @@ public:
|
|||
continue;
|
||||
}
|
||||
|
||||
if (function.name == "deleteRenderbuffer"sv) {
|
||||
generate_webgl_object_handle_unwrap(function_impl_generator, "renderbuffer"sv, ""sv);
|
||||
function_impl_generator.append(R"~~~(
|
||||
glDeleteRenderbuffers(1, &renderbuffer_handle);
|
||||
)~~~");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (function.name == "deleteTexture"sv) {
|
||||
generate_webgl_object_handle_unwrap(function_impl_generator, "texture"sv, ""sv);
|
||||
function_impl_generator.append(R"~~~(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue