LibWeb: Add WebGLTexture

This commit is contained in:
Jelle Raaijmakers 2024-11-13 10:08:30 +01:00 committed by Andreas Kling
parent 2b09afb971
commit f2a1643650
Notes: github-actions[bot] 2024-11-13 10:43:06 +00:00
7 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/*
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/WebGLTexturePrototype.h>
#include <LibWeb/WebGL/WebGLTexture.h>
namespace Web::WebGL {
JS_DEFINE_ALLOCATOR(WebGLTexture);
WebGLTexture::WebGLTexture(JS::Realm& realm)
: WebGLObject(realm)
{
}
WebGLTexture::~WebGLTexture() = default;
}