1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibWeb/WebGL: Make Context::activate() non-virtual

This method is only relevant for AccelGfx so no reason to keep it
virtual.
This commit is contained in:
Aliaksandr Kalenik 2024-01-21 13:44:08 +01:00 committed by Andreas Kling
parent 475cef8afd
commit 215931daac
2 changed files with 1 additions and 7 deletions

View file

@ -15,7 +15,6 @@ class OpenGLContext {
public:
static OwnPtr<OpenGLContext> create(Gfx::Bitmap&);
virtual void activate() = 0;
virtual void present(Gfx::Bitmap&) = 0;
void clear_buffer_to_default_values();