1
DotNet / Re: problem with examples/opengl/opengl.cs @55
« on: April 08, 2016, 03:20:23 am »
Found a thread with a fix.
Replaced
With
I'm not sure this is the right way to go. But it works at least.
Replaced
With
var wi = Utilities.CreateWindowsWindowInfo(window.SystemHandle);
var ctx = new GraphicsContext(GraphicsMode.Default, wi);
ctx.MakeCurrent(wi);
ctx.LoadAll();
var ctx = new GraphicsContext(GraphicsMode.Default, wi);
ctx.MakeCurrent(wi);
ctx.LoadAll();
I'm not sure this is the right way to go. But it works at least.