mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
LibWeb/WebGL: Request GL_ANGLE_instanced_arrays extension when required
This commit is contained in:
committed by
Andreas Kling
parent
1156fe483d
commit
58942e1137
@@ -313,4 +313,14 @@ Vector<String> OpenGLContext::get_supported_extensions()
|
||||
#endif
|
||||
}
|
||||
|
||||
void OpenGLContext::request_extension(char const* extension_name)
|
||||
{
|
||||
#ifdef AK_OS_MACOS
|
||||
make_current();
|
||||
glRequestExtensionANGLE(extension_name);
|
||||
#else
|
||||
(void)extension_name;
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user