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