mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibWeb: Save OpenGL handle in WebGLObject
This commit is contained in:
committed by
Alexander Kalenik
parent
46cbbda944
commit
cfb394cad3
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
* Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -8,8 +9,9 @@
|
||||
|
||||
namespace Web::WebGL {
|
||||
|
||||
WebGLObject::WebGLObject(JS::Realm& realm)
|
||||
WebGLObject::WebGLObject(JS::Realm& realm, GLuint handle)
|
||||
: Bindings::PlatformObject(realm)
|
||||
, m_handle(handle)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user