mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GL: Also skip gl calls in ThreadEnd during shutdown on Android. May help #11063
This commit is contained in:
parent
fd20d7b09e
commit
292d2f44ee
1 changed files with 3 additions and 2 deletions
|
@ -130,8 +130,9 @@ void GLRenderManager::ThreadEnd() {
|
|||
|
||||
// Good point to run all the deleters to get rid of leftover objects.
|
||||
for (int i = 0; i < MAX_INFLIGHT_FRAMES; i++) {
|
||||
frameData_[i].deleter.Perform(this, false);
|
||||
frameData_[i].deleter_prev.Perform(this, false);
|
||||
// Since we're in shutdown, we should skip the GL calls on Android.
|
||||
frameData_[i].deleter.Perform(this, skipGLCalls_);
|
||||
frameData_[i].deleter_prev.Perform(this, skipGLCalls_);
|
||||
for (int j = 0; j < (int)frameData_[i].steps.size(); j++) {
|
||||
delete frameData_[i].steps[j];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue