LibWeb: Save OpenGL handle in WebGLObject

This commit is contained in:
Aliaksandr Kalenik
2024-11-30 16:53:52 +01:00
committed by Alexander Kalenik
parent 46cbbda944
commit cfb394cad3
15 changed files with 83 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ namespace Web::WebGL {
GC_DEFINE_ALLOCATOR(WebGLRenderbuffer);
WebGLRenderbuffer::WebGLRenderbuffer(JS::Realm& realm)
: WebGLObject(realm)
: WebGLObject(realm, 0)
{
}