android: don't use ScopeAcquireContext in RunCitra

The context will be released when window is destroyed
This commit is contained in:
BreadFish64 2020-04-01 14:31:51 -05:00 committed by bunnei
parent 5e341524c2
commit ea80e9e059

View File

@ -111,7 +111,7 @@ static Core::System::ResultStatus RunCitra(const std::string& filepath) {
InputManager::Init(); InputManager::Init();
Frontend::ScopeAcquireContext scope(*window); window->MakeCurrent();
const Core::System::ResultStatus load_result{system.Load(*window, filepath)}; const Core::System::ResultStatus load_result{system.Load(*window, filepath)};
if (load_result != Core::System::ResultStatus::Success) { if (load_result != Core::System::ResultStatus::Success) {
return load_result; return load_result;