initing gl core compat and ext