getEglLibrary method

DynamicLibrary? getEglLibrary()

Implementation

DynamicLibrary? getEglLibrary() {
  if (Platform.isAndroid) {
    return DynamicLibrary.open("libEGL.so");
  } else if (Platform.isWindows) {
    return DynamicLibrary.open("openworld_gl_plugin.dll");
  } else {
    return DynamicLibrary.process();
  }
}