mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb/WebGL2: Implement MAX_ELEMENT_INDEX parameter
This commit is contained in:
committed by
Alexander Kalenik
parent
2d94953047
commit
0390a2328c
@@ -189,6 +189,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
|
|||||||
{ "TEXTURE_BINDING_2D_ARRAY"sv, { "WebGLTexture"sv }, 2 },
|
{ "TEXTURE_BINDING_2D_ARRAY"sv, { "WebGLTexture"sv }, 2 },
|
||||||
{ "COPY_READ_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 },
|
{ "COPY_READ_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 },
|
||||||
{ "COPY_WRITE_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 },
|
{ "COPY_WRITE_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 },
|
||||||
|
{ "MAX_ELEMENT_INDEX"sv, { "GLint64"sv }, 2 },
|
||||||
};
|
};
|
||||||
|
|
||||||
auto is_primitive_type = [](StringView type) {
|
auto is_primitive_type = [](StringView type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user