mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: Add WebGLShader
This commit is contained in:
committed by
Andreas Kling
parent
d53cb9833b
commit
2b09afb971
21
Libraries/LibWeb/WebGL/WebGLShader.cpp
Normal file
21
Libraries/LibWeb/WebGL/WebGLShader.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/Bindings/WebGLShaderPrototype.h>
|
||||
#include <LibWeb/WebGL/WebGLShader.h>
|
||||
|
||||
namespace Web::WebGL {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(WebGLShader);
|
||||
|
||||
WebGLShader::WebGLShader(JS::Realm& realm)
|
||||
: WebGLObject(realm)
|
||||
{
|
||||
}
|
||||
|
||||
WebGLShader::~WebGLShader() = default;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user