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