mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
Merge pull request #22602 from hrydgard/depth-raster-thread
GPU: Rasterize software depth on a worker thread
This commit is contained in:
12 files changed
+405
-103
No files matched your search
@@ -652,6 +652,11 @@ void CPU_Shutdown(bool success) {
|
||||
// Core_LockAgainstShutdown(); it's recursive, so the nested acquire in Memory::Shutdown() is fine.
|
||||
CoreShutdownLock coreLock = Core_LockAgainstShutdown();
|
||||
|
||||
// The GPU outlives memory (GPU_Shutdown comes later), so it must stop writing to it now.
|
||||
if (gpu) {
|
||||
gpu->FlushPendingDrawing();
|
||||
}
|
||||
|
||||
UninstallExceptionHandler();
|
||||
|
||||
GPURecord::Replay_Unload();
|
||||
|
||||
Reference in new issue
Block a user