From aa2eb7ac7d861af28ff5b57ab67e4f8bdfd9dd6d Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Fri, 27 Dec 2024 11:36:37 +0000 Subject: [PATCH] LibWeb/WebGL2: Implement MAX_VARYING_COMPONENTS parameter --- .../CodeGenerators/LibWeb/GenerateWebGLRenderingContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWebGLRenderingContext.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWebGLRenderingContext.cpp index 16ce7fe1341..91858dd63c0 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWebGLRenderingContext.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWebGLRenderingContext.cpp @@ -191,6 +191,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version { "COPY_WRITE_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 }, { "MAX_ELEMENT_INDEX"sv, { "GLint64"sv }, 2 }, { "MAX_FRAGMENT_UNIFORM_BLOCKS"sv, { "GLint"sv }, 2 }, + { "MAX_VARYING_COMPONENTS"sv, { "GLint"sv }, 2 }, }; auto is_primitive_type = [](StringView type) {