Fix custom UI backgrounds again by initializing lazily (turned out to be the cause of #10662)

This commit is contained in:
Henrik Rydgård committed 2018-03-01 16:09:23 +01:00
1 parent 1e940f4973
commit 18db8b0bd6
2 files changed
+8 -2

No files matched your search

-2
View File
@@ -664,8 +664,6 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
screenManager->setDrawContext(g_draw);
screenManager->setPostRenderCallback(&RenderOverlays, nullptr);
UIBackgroundInit(*uiContext);
#ifdef _WIN32
winAudioBackend = CreateAudioBackend((AudioBackendType)g_Config.iAudioBackend);
#if PPSSPP_PLATFORM(UWP)