mirror of
https://github.com/devkitPro/wut.git
synced 2026-07-29 22:18:32 -05:00
whb: Fix GPU hang reset.
This commit is contained in:
parent
574eeef4f0
commit
6bc6534a9f
|
|
@ -435,6 +435,7 @@ WHBGfxShutdown()
|
|||
}
|
||||
|
||||
GfxProcCallbackReleased(NULL);
|
||||
GX2RSetAllocator(NULL, NULL);
|
||||
GX2Shutdown();
|
||||
|
||||
if (sTvContextState) {
|
||||
|
|
@ -451,8 +452,6 @@ WHBGfxShutdown()
|
|||
GfxHeapFreeMEM2(sCommandBufferPool);
|
||||
sCommandBufferPool = NULL;
|
||||
}
|
||||
|
||||
GX2RSetAllocator(NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -466,7 +465,6 @@ WHBGfxBeginRender()
|
|||
GX2GetSwapStatus(&swapCount, &flipCount, &lastFlip, &lastVsync);
|
||||
|
||||
if (flipCount >= swapCount) {
|
||||
sGpuTimedOut = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user