LibWeb/WebGL2: Implement MAX_3D_TEXTURE_SIZE parameter

This commit is contained in:
Luke Wilde 2024-12-13 18:26:38 +00:00 committed by Alexander Kalenik
parent dad30672d9
commit f266705bc6
Notes: github-actions[bot] 2024-12-14 08:09:42 +00:00

View file

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