mirror of
https://github.com/yawut/SDL.git
synced 2026-07-19 09:21:40 -05:00
wiiu/video: Call GX2SetTV/DRCEnable on leaving foreground
This fixes having a black background while the HBM is active.
This commit is contained in:
parent
a4c061395b
commit
cd53049e56
|
|
@ -160,6 +160,11 @@ static int WIIU_ForegroundReleased(_THIS)
|
|||
|
||||
WIIU_GfxHeap_MEM1Destroy();
|
||||
WIIU_GfxHeap_ForegroundDestroy();
|
||||
|
||||
// This is necessary to avoid a black frame on leaving foreground
|
||||
GX2SetTVEnable(TRUE);
|
||||
GX2SetDRCEnable(TRUE);
|
||||
|
||||
videodata->hasForeground = SDL_FALSE;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user