clean unneeded _openglFuncs