mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix Metal builds. (flutter/engine#12777)
This commit is contained in:
parent
602014c438
commit
e8bdecf486
@ -102,10 +102,7 @@ bool IOSSurfaceMetal::SubmitFrame(GrContext* context) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool submitted = platform_views_controller->SubmitFrame(std::move(context), // gr context
|
||||
{}, // onscreen gl context
|
||||
{} // offscreen gl context
|
||||
);
|
||||
bool submitted = platform_views_controller->SubmitFrame(context, nullptr);
|
||||
[CATransaction commit];
|
||||
return submitted;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user