SDL: Respect inflight frames setting in GL.

This commit is contained in:
Unknown W. Brackets committed 2021-11-27 06:57:26 -08:00
1 parent daae09b4ab
commit f8e50b1dc7
1 file changed
+1
+1
View File
@@ -414,6 +414,7 @@ int SDLGLGraphicsContext::Init(SDL_Window *&window, int x, int y, int mode, std:
CheckGLExtensions();
draw_ = Draw::T3DCreateGLContext();
renderManager_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
renderManager_->SetInflightFrames(g_Config.iInflightFrames);
SetGPUBackend(GPUBackend::OPENGL);
bool success = draw_->CreatePresets();
_assert_(success);