未验证 提交 75e87524 编写于 作者: J Jason Simmons 提交者: GitHub

Fix the Mac embedder build (#6525)

上级 436f9707
......@@ -89,6 +89,8 @@ static bool IsRendererValid(const FlutterRendererConfig* config) {
return false;
}
#if OS_LINUX || OS_WIN
static void* DefaultGLProcResolver(const char* name) {
static fml::RefPtr<fml::NativeLibrary> proc_library =
fml::NativeLibrary::CreateForCurrentProcess();
......@@ -96,6 +98,8 @@ static void* DefaultGLProcResolver(const char* name) {
const_cast<uint8_t*>(proc_library->ResolveSymbol(name)));
}
#endif // OS_LINUX || OS_WIN
static shell::Shell::CreateCallback<shell::PlatformView>
InferOpenGLPlatformViewCreationCallback(
const FlutterRendererConfig* config,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册