mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibAccelGfx: Add method to make context active
In the upcoming changes, the AccelGfx context will be used for WebGL, so we can no longer assume that the WebContent process has a single global context.
This commit is contained in:
parent
7cd489d6aa
commit
aac439edb1
2 changed files with 59 additions and 7 deletions
|
@ -25,6 +25,12 @@ public:
|
|||
Context()
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~Context()
|
||||
{
|
||||
}
|
||||
|
||||
virtual void activate() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue