mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
LibWeb: Save OpenGL handle in WebGLObject
This commit is contained in:
parent
46cbbda944
commit
cfb394cad3
Notes:
github-actions[bot]
2024-12-03 22:37:03 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: cfb394cad3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2688
Reviewed-by: https://github.com/ADKaster ✅
15 changed files with 83 additions and 20 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue