added some more opengl functions