mirror of
https://github.com/HarbourMasters/Starship
synced 2026-05-23 06:54:39 -04:00
Render parallelization Enabled by default
This commit is contained in:
+1
-1
@@ -522,7 +522,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
|
||||
|
||||
if (wnd != nullptr) {
|
||||
wnd->SetTargetFps(fps);
|
||||
wnd->SetMaximumFrameLatency(CVarGetInteger("gRenderParallelization", 0) ? 2 : 1);
|
||||
wnd->SetMaximumFrameLatency(CVarGetInteger("gRenderParallelization", 1) ? 2 : 1);
|
||||
}
|
||||
|
||||
// When the gfx debugger is active, only run with the final mtx
|
||||
|
||||
@@ -449,7 +449,7 @@ void DrawSettingsMenu(){
|
||||
UIWidgets::Tooltip("Matches interpolation value to the refresh rate of your display.");
|
||||
|
||||
if (Ship::Context::GetInstance()->GetWindow()->GetWindowBackend() == Ship::WindowBackend::FAST3D_DXGI_DX11) {
|
||||
UIWidgets::PaddedEnhancementCheckbox("Render parallelization","gRenderParallelization", true, false);
|
||||
UIWidgets::PaddedEnhancementCheckbox("Render parallelization","gRenderParallelization", true, false, {}, {}, {}, true);
|
||||
UIWidgets::Tooltip(
|
||||
"This setting allows the CPU to work on one frame while GPU works on the previous frame.\n"
|
||||
"Recommended if you can't reach the FPS you set, despite it being set below your refresh rate "
|
||||
|
||||
Reference in New Issue
Block a user