LibGL: Remove GL::present_context

No need for a static method if all it does is invoke the object method.
This commit is contained in:
Jelle Raaijmakers 2022-09-16 22:41:43 +02:00 committed by Andreas Kling
parent 09d211e08a
commit 6c87c98ed0
Notes: sideshowbarker 2024-07-17 06:54:03 +09:00
2 changed files with 0 additions and 6 deletions

View file

@ -944,9 +944,4 @@ void make_context_current(GLContext* context)
g_gl_context = context;
}
void present_context(GLContext* context)
{
context->present();
}
}

View file

@ -538,6 +538,5 @@ private:
ErrorOr<NonnullOwnPtr<GLContext>> create_context(Gfx::Bitmap&);
void make_context_current(GLContext*);
void present_context(GLContext*);
}