未验证 提交 c4d127e3 编写于 作者: C Chinmay Garde 提交者: GitHub

Fix Metal builds by accounting for the updated SubmitFrame signature. (#12754)

上级 e9edb8e1
......@@ -102,7 +102,10 @@ bool IOSSurfaceMetal::SubmitFrame(GrContext* context) {
return true;
}
bool submitted = platform_views_controller->SubmitFrame(std::move(context), nullptr);
bool submitted = platform_views_controller->SubmitFrame(std::move(context), // gr context
{}, // onscreen gl context
{} // offscreen gl context
);
[CATransaction commit];
return submitted;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册