2024-11-13 09:31:46 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
2024-11-30 16:53:52 +01:00
|
|
|
* Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
2024-11-13 09:31:46 +01:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <LibWeb/WebGL/WebGLObject.h>
|
|
|
|
|
|
|
|
namespace Web::WebGL {
|
|
|
|
|
2024-11-30 16:53:52 +01:00
|
|
|
WebGLObject::WebGLObject(JS::Realm& realm, GLuint handle)
|
2024-11-13 09:31:46 +01:00
|
|
|
: Bindings::PlatformObject(realm)
|
2024-11-30 16:53:52 +01:00
|
|
|
, m_handle(handle)
|
2024-11-13 09:31:46 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
WebGLObject::~WebGLObject() = default;
|
|
|
|
|
|
|
|
}
|