Fixed context sharing on windows.

This commit is contained in:
the_fiddler 2008-04-13 13:54:24 +00:00
parent 301ebcc0b7
commit 1be3b167c7

View file

@ -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);
}
}