mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 04:22:37 +01: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