Load ES entry points even on desktop

Some drivers / operating systems export ES entry points as extensions on regular "desktop" GraphicsContexts. Attempt to load them even if the user has not explicitly asked for an ES context.
This commit is contained in:
Stefanos A. 2013-10-03 16:42:38 +02:00
parent be7200d37e
commit 0e221a0ce5

View file

@ -36,6 +36,9 @@ namespace OpenTK.Platform
public override void LoadAll()
{
new OpenTK.Graphics.OpenGL.GL().LoadEntryPoints();
new OpenTK.Graphics.ES10.GL().LoadEntryPoints();
new OpenTK.Graphics.ES11.GL().LoadEntryPoints();
new OpenTK.Graphics.ES20.GL().LoadEntryPoints();
}
}
}