mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add WebGLProgram
This commit is contained in:
committed by
Andreas Kling
parent
5d0b206d6e
commit
6b7d5dbec6
Notes:
github-actions[bot]
2024-11-13 10:43:23 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/6b7d5dbec6a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2308
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user