prepareContext method

dynamic prepareContext()

set opengl context for ffi thread

Implementation

prepareContext() async {
  egls = await FlutterGlPlatform.instance.getEgl_interface(this.textureId!);
  openGL.makeCurrent(egls);
}