mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add a webgl_version getter to OpenGLContext
This commit is contained in:
parent
df1aeda955
commit
395bc3ee27
Notes:
github-actions[bot]
2025-11-05 01:20:50 +00:00
Author: https://github.com/cqundefine
Commit: 395bc3ee27
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6676
Reviewed-by: https://github.com/kalenikaliaksandr ✅
Reviewed-by: https://github.com/konradekk
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ public:
|
|||
Vector<String> get_supported_extensions();
|
||||
void request_extension(char const* extension_name);
|
||||
|
||||
WebGLVersion webgl_version() const { return m_webgl_version; }
|
||||
|
||||
private:
|
||||
NonnullRefPtr<Gfx::SkiaBackendContext> m_skia_backend_context;
|
||||
Gfx::IntSize m_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue