You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old GLControl constructor could take a GraphicsMode object where the color bits, depth bits, stencil bits and sample count was specified. I've found that the new contructor takes GlControlSettings, but it appears that only sample count can be set. Where to set the remaining bit values?
If creating the control programmatically, is it necessary to set the API, API Version, and compatibility? What should they be set to? Is this the version of OpenTK seen in Nuget, or is it the version set at the top of the shader (ie # version 330 core)? I'm currently using
new GLControlSettings() { NumberOfSamples = 8, API = ContextAPI.OpenGL, APIVersion = new Version("3.3.0.0"), Profile = ContextProfile.Core };
new GLControlSettings() { NumberOfSamples = 8, API = ContextAPI.OpenGL, APIVersion = new Version("3.3.0.0"), Profile = ContextProfile.Core };