Skip to content

Commit

Permalink
GPU/HW: Fix base settings not updating on change
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 25, 2023
1 parent edc61b0 commit 3e82409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/gpu_hw.cpp
Expand Up @@ -284,6 +284,8 @@ void GPU_HW::RestoreGraphicsAPIState()

void GPU_HW::UpdateSettings()
{
GPU::UpdateSettings();

const u32 resolution_scale = CalculateResolutionScale();
const u32 multisamples = std::min(g_settings.gpu_multisamples, g_gpu_device->GetMaxMultisamples());
const bool per_sample_shading = g_settings.gpu_per_sample_shading && m_supports_per_sample_shading;
Expand Down

0 comments on commit 3e82409

Please sign in to comment.