LibWeb/WebGL: Implement WEBGL_compressed_texture_s3tc extension

This commit is contained in:
Luke Wilde 2025-01-28 18:25:26 +00:00 committed by Andreas Kling
commit 958938655d
Notes: github-actions[bot] 2025-02-09 00:01:44 +00:00
11 changed files with 137 additions and 2 deletions

View file

@ -832,7 +832,7 @@ class @class_name@ : public WebGLRenderingContextBase {
public:
@class_name@(JS::Realm&, NonnullOwnPtr<OpenGLContext>);
OpenGLContext& context() { return *m_context; }
virtual OpenGLContext& context() override { return *m_context; }
virtual void present() = 0;
virtual void needs_to_present() = 0;