This commit is contained in:
Chinmay Garde 2019-10-03 14:42:54 -07:00 committed by GitHub
parent 602014c438
commit e8bdecf486

View File

@ -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;
}