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:
eb317df
)
Remove redundant MakeCurrent call.
author
Jarl Gullberg
<jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:44:47 +0000
(12:44 +0200)
committer
Jarl Gullberg
<jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:44:47 +0000
(12:44 +0200)
src/OpenTK.GLWidget/GLWidget.cs
patch
|
blob
|
history
diff --git
a/src/OpenTK.GLWidget/GLWidget.cs
b/src/OpenTK.GLWidget/GLWidget.cs
index c89f9e2fc31ca8b50fc99f444badbf52b31994f3..87903b79ebd30aaa60bade3051bd17d28a40b628 100644
(file)
--- a/
src/OpenTK.GLWidget/GLWidget.cs
+++ b/
src/OpenTK.GLWidget/GLWidget.cs
@@
-307,8
+307,6
@@
namespace OpenTK
GetRequiredVersion(out int glVersionMajor, out int glVersionMinor);
_GraphicsContext = new GraphicsContext(gdkContextHandle, _WindowInfo, null, glVersionMajor, glVersionMinor, GraphicsContextFlags);
- MakeCurrent();
-
if (GraphicsContext.ShareContexts)
{
Interlocked.Increment(ref _GraphicsContextCount);