android: don't use ScopeAcquireContext in RunCitra
The context will be released when window is destroyed
This commit is contained in:
parent
8675a2198b
commit
313535f579
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user