mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
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:
parent
09d211e08a
commit
6c87c98ed0
Notes:
sideshowbarker
2024-07-17 06:54:03 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/6c87c98ed0 Pull-request: https://github.com/SerenityOS/serenity/pull/15266
2 changed files with 0 additions and 6 deletions
|
@ -944,9 +944,4 @@ void make_context_current(GLContext* context)
|
|||
g_gl_context = context;
|
||||
}
|
||||
|
||||
void present_context(GLContext* context)
|
||||
{
|
||||
context->present();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -538,6 +538,5 @@ private:
|
|||
|
||||
ErrorOr<NonnullOwnPtr<GLContext>> create_context(Gfx::Bitmap&);
|
||||
void make_context_current(GLContext*);
|
||||
void present_context(GLContext*);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue