LibWeb/WebGL2: Implement MAX_ARRAY_TEXTURE_LAYERS parameter

This commit is contained in:
Luke Wilde
2024-12-13 19:04:09 +00:00
committed by Alexander Kalenik
parent 6e42f401f9
commit 99a501bd09

View File

@@ -171,6 +171,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
{ "VIEWPORT"sv, { "Int32Array"sv, 4 } },
{ "MAX_SAMPLES"sv, { "GLint"sv }, 2 },
{ "MAX_3D_TEXTURE_SIZE"sv, { "GLint"sv }, 2 },
{ "MAX_ARRAY_TEXTURE_LAYERS"sv, { "GLint"sv }, 2 },
};
auto is_primitive_type = [](StringView type) {