mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 11:56:54 +00:00
Fixed context sharing on windows.
This commit is contained in:
parent
301ebcc0b7
commit
1be3b167c7
|
@ -86,7 +86,7 @@ namespace OpenTK.Platform.Windows
|
||||||
if (sharedContext != null)
|
if (sharedContext != null)
|
||||||
{
|
{
|
||||||
Debug.Print("Sharing state with context {0}", sharedContext.ToString());
|
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