delay GL dependent initialization until there is a GL context