update all OpenGL calls to the newest OpenTK API