do not use gl emulation code in es2 emulation mode, to avoid confusing lack of a bound buffer between them