mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Stub out WebGL getUniform
This makes the function return a dummy value instead of undefined as that fixes a crash while capturing on SpectorJS.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
a2c659ee6b
commit
1bc7e9d3f8
Notes:
github-actions[bot]
2025-11-01 23:55:14 +00:00
Author: https://github.com/cqundefine Commit: https://github.com/LadybirdBrowser/ladybird/commit/1bc7e9d3f84 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6663 Reviewed-by: https://github.com/gmta ✅
@@ -197,6 +197,7 @@ public:
|
||||
GC::Root<WebGLShaderPrecisionFormat> get_shader_precision_format(WebIDL::UnsignedLong shadertype, WebIDL::UnsignedLong precisiontype);
|
||||
Optional<String> get_shader_info_log(GC::Root<WebGLShader> shader);
|
||||
Optional<String> get_shader_source(GC::Root<WebGLShader> shader);
|
||||
JS::Value get_uniform(GC::Root<WebGLProgram> program, GC::Root<WebGLUniformLocation> location);
|
||||
GC::Root<WebGLUniformLocation> get_uniform_location(GC::Root<WebGLProgram> program, String name);
|
||||
JS::Value get_vertex_attrib(WebIDL::UnsignedLong index, WebIDL::UnsignedLong pname);
|
||||
void hint(WebIDL::UnsignedLong target, WebIDL::UnsignedLong mode);
|
||||
|
||||
Reference in New Issue
Block a user