mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 22:21:04 +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)
|
||||
{
|
||||
MakeCurrent(window);
|
||||
// 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
|
||||
// was resized.
|
||||
|
|
Loading…
Reference in a new issue