mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Wipe all FBOs on device lost. May help app switching issues on Android.
This commit is contained in:
1 parent
9fbb947fcd
commit
112f1b4901
3 files changed
+7
No files matched your search
@@ -567,6 +567,11 @@ void FramebufferManager::EndFrame() {
|
||||
}
|
||||
}
|
||||
|
||||
void FramebufferManager::DeviceLost() {
|
||||
DestroyAllFBOs();
|
||||
resized_ = false;
|
||||
}
|
||||
|
||||
void FramebufferManager::BeginFrame() {
|
||||
DecimateFBOs();
|
||||
// NOTE - this is all wrong. At the beginning of the frame is a TERRIBLE time to draw the fb.
|
||||
|
||||
Reference in new issue
Block a user