LibWeb/WebGL2: Implement MAX_COLOR_ATTACHMENTS parameter

This commit is contained in:
Luke Wilde 2024-12-13 19:08:29 +00:00 committed by Alexander Kalenik
parent 99a501bd09
commit b6388abb9b
Notes: github-actions[bot] 2024-12-14 08:09:04 +00:00

View file

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