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

This commit is contained in:
Chinmay Garde
2019-10-02 15:36:28 -07:00
committed by GitHub
parent 12a4911bc1
commit d01cde0907

View File

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