Fixed context sharing on windows.
This commit is contained in:
parent
301ebcc0b7
commit
1be3b167c7
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ namespace OpenTK.Platform.Windows
|
|||
if (sharedContext != null)
|
||||
{
|
||||
Debug.Print("Sharing state with context {0}", sharedContext.ToString());
|
||||
Wgl.Imports.ShareLists(renderContext, (sharedContext as IGraphicsContextInternal).Context);
|
||||
Wgl.Imports.ShareLists((sharedContext as IGraphicsContextInternal).Context, renderContext);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue