mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Change the GraphicsContext interface to be more consistent
This commit is contained in:
1 parent
28a2c7bca6
commit
7f218acc53
51 files changed
+680
-628
No files matched your search
+1
-14
@@ -177,7 +177,6 @@ std::string config_filename;
|
||||
// Really need to clean this mess of globals up... but instead I add more :P
|
||||
bool g_TakeScreenshot;
|
||||
static bool resized = false;
|
||||
static bool restarting = false;
|
||||
|
||||
static int renderCounter = 0;
|
||||
|
||||
@@ -775,7 +774,6 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
|
||||
Achievements::Initialize();
|
||||
|
||||
// Must be done restarting by now.
|
||||
restarting = false;
|
||||
g_nativeMainThreadReady = true;
|
||||
}
|
||||
|
||||
@@ -1634,14 +1632,6 @@ void NativeResized() {
|
||||
resized = true;
|
||||
}
|
||||
|
||||
void NativeSetRestarting() {
|
||||
restarting = true;
|
||||
}
|
||||
|
||||
bool NativeIsRestarting() {
|
||||
return restarting;
|
||||
}
|
||||
|
||||
void NativeShutdown() {
|
||||
INFO_LOG(Log::System, "NativeShutdown begin");
|
||||
ClearAchievementsHostOverride();
|
||||
@@ -1682,10 +1672,7 @@ void NativeShutdown() {
|
||||
ShaderTranslationShutdown();
|
||||
|
||||
// Avoid shutting this down when restarting core.
|
||||
if (!restarting) {
|
||||
g_logManager.Shutdown();
|
||||
}
|
||||
|
||||
g_logManager.Shutdown();
|
||||
g_threadManager.Teardown();
|
||||
|
||||
#if !PPSSPP_PLATFORM(IOS)
|
||||
|
||||
Reference in new issue
Block a user