LibWeb/WebGL2: Implement MAX_DRAW_BUFFERS parameter

This commit is contained in:
Luke Wilde 2024-12-13 19:37:11 +00:00 committed by Alexander Kalenik
parent db89b478ff
commit a19fb0a759
Notes: github-actions[bot] 2024-12-14 08:08:27 +00:00

View file

@ -177,6 +177,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
{ "MAX_UNIFORM_BLOCK_SIZE"sv, { "GLint64"sv }, 2 },
{ "MAX_UNIFORM_BUFFER_BINDINGS"sv, { "GLint"sv }, 2 },
{ "UNIFORM_BUFFER_OFFSET_ALIGNMENT"sv, { "GLint"sv }, 2 },
{ "MAX_DRAW_BUFFERS"sv, { "GLint"sv }, 2 },
};
auto is_primitive_type = [](StringView type) {