initializeGL method

dynamic initializeGL()

Implementation

initializeGL() {
  nativeLib = Platform.isAndroid
      ? ffi.DynamicLibrary.open("libflutter_opengl_plugin.so")
      : (Platform.isWindows
          ? ffi.DynamicLibrary.open("flutter_opengl_plugin.dll")
          : ffi.DynamicLibrary.process());
  openglFFI = FlutterOpenGLFfi.fromLookup(nativeLib.lookup);
  openglPlugin = FlutterOpengl();
}