projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30752ed
)
be sure the current context is set before calling Egl.WaitClient()
author
Armin Sander
<armin@replicator.org>
Sun, 19 Mar 2017 14:28:26 +0000
(15:28 +0100)
committer
Armin Sander
<armin@replicator.org>
Sun, 19 Mar 2017 14:29:00 +0000
(15:29 +0100)
src/OpenTK/Platform/Egl/EglContext.cs
patch
|
blob
|
history
diff --git
a/src/OpenTK/Platform/Egl/EglContext.cs
b/src/OpenTK/Platform/Egl/EglContext.cs
index
c45ad7b
..
9b1639e
100644
(file)
--- a/
src/OpenTK/Platform/Egl/EglContext.cs
+++ b/
src/OpenTK/Platform/Egl/EglContext.cs
@@
-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.