Skip to content

Commit

Permalink
Merge pull request #15176 from unknownbrackets/sdl-inflight
Browse files Browse the repository at this point in the history
SDL: Respect inflight frames setting in GL
  • Loading branch information
hrydgard committed Nov 27, 2021
2 parents daae09b + f8e50b1 commit cf6e11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SDL/SDLGLGraphicsContext.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit cf6e11e

Please sign in to comment.