c# - OpenTK.Graphics.OpenGL.GL obsolete? -


i started using opentk said gl class obsolete. error 'opentk.graphics.gl' obsolete: 'use optntk graphics.opengl or 1 of specific profiles instead.'. don't it's telling me use instead. ideas?

opentk comes standard (opentk.dll) , compatibility (opentk.compatibility.dll) assembly. according release notes compatibility assembly contains legacy-apis (from 0.x versions of tao/opentk) removed standard assembly.

you using opentk.graphics namespace (and gl class there) compatibility assembly , therefore getting warning. if developing new project should remove reference compatibility assembly , change usings opentk.graphics.opengl (or opentk.graphics.es10, opentk.graphics.es11, opentk.graphics.es20 should targetting opengl es).


Comments