Skip to content

Commit 4e428d6

Browse files
committed
Bump to upstream plume
1 parent f3c984e commit 4e428d6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

MarathonRecomp/gpu/video.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,14 @@ bool Video::CreateHostDevice(const char *sdlVideoDriver, bool graphicsApiRetry)
20612061
break;
20622062
}
20632063

2064-
g_swapChain = g_queue->createSwapChain(GameWindow::s_renderWindow, bufferCount, BACKBUFFER_FORMAT, Config::MaxFrameLatency);
2064+
RenderSwapChainDesc swapChainDesc;
2065+
swapChainDesc.renderWindow = GameWindow::s_renderWindow;
2066+
swapChainDesc.textureCount = bufferCount;
2067+
swapChainDesc.format = BACKBUFFER_FORMAT;
2068+
swapChainDesc.maxFrameLatency = Config::MaxFrameLatency;
2069+
swapChainDesc.enablePresentWait = g_capabilities.presentWait;
2070+
2071+
g_swapChain = g_queue->createSwapChain(swapChainDesc);
20652072
g_swapChain->setVsyncEnabled(Config::VSync);
20662073
g_swapChainValid = !g_swapChain->needsResize();
20672074

0 commit comments

Comments
 (0)