mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
iOS: Fix hang when task switching in GL mode
This commit is contained in:
1 parent
f23f54bf87
commit
3065979528
3 files changed
+27
-1
No files matched your search
@@ -183,6 +183,16 @@ void GLRenderManager::StopThread() {
|
||||
}
|
||||
}
|
||||
|
||||
void GLRenderManager::StartThread() {
|
||||
// There's not really a lot to do here anymore.
|
||||
INFO_LOG(G3D, "GLRenderManager::StartThread()");
|
||||
if (!runCompileThread_) {
|
||||
runCompileThread_ = true;
|
||||
} else {
|
||||
INFO_LOG(G3D, "GL submission thread was already running.");
|
||||
}
|
||||
}
|
||||
|
||||
std::string GLRenderManager::GetGpuProfileString() const {
|
||||
int curFrame = curFrame_;
|
||||
const GLQueueProfileContext &profile = frameData_[curFrame].profile;
|
||||
|
||||
Reference in new issue
Block a user