mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 19:20:41 +00:00
be sure the current context is set before calling Egl.WaitClient()
This commit is contained in:
parent
30752ed36d
commit
89e792ee47
|
@ -173,6 +173,7 @@ namespace OpenTK.Platform.Egl
|
||||||
|
|
||||||
public override void Update(IWindowInfo window)
|
public override void Update(IWindowInfo window)
|
||||||
{
|
{
|
||||||
|
MakeCurrent(window);
|
||||||
// ANGLE updates the width and height of the back buffer surfaces in the WaitClient function.
|
// ANGLE updates the width and height of the back buffer surfaces in the WaitClient function.
|
||||||
// So without this calling this function, the surface won't match the size of the window after it
|
// So without this calling this function, the surface won't match the size of the window after it
|
||||||
// was resized.
|
// was resized.
|
||||||
|
|
Loading…
Reference in a new issue