Adding support for OpenGL functions