mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Add WebGLShaderPrecisionFormat
This commit is contained in:
parent
d63a979bde
commit
3d8ab0e67c
Notes:
github-actions[bot]
2024-11-13 10:42:45 +00:00
Author: https://github.com/gmta
Commit: 3d8ab0e67c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2308
7 changed files with 58 additions and 0 deletions
21
Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.cpp
Normal file
21
Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/Bindings/WebGLShaderPrecisionFormatPrototype.h>
|
||||
#include <LibWeb/WebGL/WebGLShaderPrecisionFormat.h>
|
||||
|
||||
namespace Web::WebGL {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(WebGLShaderPrecisionFormat);
|
||||
|
||||
WebGLShaderPrecisionFormat::WebGLShaderPrecisionFormat(JS::Realm& realm)
|
||||
: WebGLObject(realm)
|
||||
{
|
||||
}
|
||||
|
||||
WebGLShaderPrecisionFormat::~WebGLShaderPrecisionFormat() = default;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue