mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Add WebGLBuffer
This commit is contained in:
parent
e6ee7f3e64
commit
b21857b265
Notes:
github-actions[bot]
2024-11-13 10:43:35 +00:00
Author: https://github.com/gmta
Commit: b21857b265
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2308
8 changed files with 56 additions and 1 deletions
21
Libraries/LibWeb/WebGL/WebGLBuffer.cpp
Normal file
21
Libraries/LibWeb/WebGL/WebGLBuffer.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/Bindings/WebGLBufferPrototype.h>
|
||||
#include <LibWeb/WebGL/WebGLBuffer.h>
|
||||
|
||||
namespace Web::WebGL {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(WebGLBuffer);
|
||||
|
||||
WebGLBuffer::WebGLBuffer(JS::Realm& realm)
|
||||
: WebGLObject(realm)
|
||||
{
|
||||
}
|
||||
|
||||
WebGLBuffer::~WebGLBuffer() = default;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue