Don't shutdown gl in headless so quickly.
Oops.
This commit is contained in:
parent
43c3fd9386
commit
7a81b802cc
1 changed files with 1 additions and 2 deletions
|
@ -160,7 +160,6 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, bool
|
|||
}
|
||||
}
|
||||
|
||||
host->ShutdownGL();
|
||||
PSP_Shutdown();
|
||||
|
||||
headlessHost->FlushDebugOutput();
|
||||
|
@ -357,10 +356,10 @@ int main(int argc, const char* argv[])
|
|||
}
|
||||
}
|
||||
|
||||
host->ShutdownGL();
|
||||
delete host;
|
||||
host = NULL;
|
||||
headlessHost = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue