Don't shutdown gl in headless so quickly.

Oops.
This commit is contained in:
Unknown W. Brackets 2013-09-17 22:50:03 -07:00
parent 43c3fd9386
commit 7a81b802cc

View File

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