mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibWeb/WebGL2: Implement deleteSampler
This commit is contained in:
committed by
Alexander Kalenik
parent
09ad685238
commit
f627c91bf3
@@ -1288,6 +1288,14 @@ public:
|
||||
continue;
|
||||
}
|
||||
|
||||
if (function.name == "deleteSampler"sv) {
|
||||
generate_webgl_object_handle_unwrap(function_impl_generator, "sampler"sv, ""sv);
|
||||
function_impl_generator.append(R"~~~(
|
||||
glDeleteSamplers(1, &sampler_handle);
|
||||
)~~~");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (function.name == "bindBuffer"sv) {
|
||||
// FIXME: Implement Buffer Object Binding restrictions.
|
||||
generate_webgl_object_handle_unwrap(function_impl_generator, "buffer"sv, ""sv);
|
||||
|
||||
Reference in New Issue
Block a user