mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibGL: Add context lifetime debug output
Also, make `::create_context` return a `NonnullOwnPtr`.
This commit is contained in:
parent
a0086c033d
commit
a4d98c4622
Notes:
sideshowbarker
2024-07-17 20:53:28 +09:00
Author: https://github.com/gmta
Commit: a4d98c4622
Pull-request: https://github.com/SerenityOS/serenity/pull/11834
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/sunverwerth ✅
2 changed files with 11 additions and 4 deletions
|
@ -120,7 +120,7 @@ public:
|
|||
virtual void present() = 0;
|
||||
};
|
||||
|
||||
OwnPtr<GLContext> create_context(Gfx::Bitmap&);
|
||||
NonnullOwnPtr<GLContext> create_context(Gfx::Bitmap&);
|
||||
void make_context_current(GLContext*);
|
||||
void present_context(GLContext*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue