VideoCommon: Move backend_info out of VideoConfig struct.

This commit is contained in:
Jordan Woyak committed 2025-03-09 01:42:45 -06:00
1 parent 99e686de34
commit c18c039089
62 files changed
+741 -788

No files matched your search

+1 -1
View File
@@ -334,7 +334,7 @@ void Metal::Gfx::ClearRegion(const MathUtil::Rectangle<int>& target_rc, bool col
static_cast<double>((color >> 24) & 0xFF) / 255.0);
// clang-format on
float z_normalized = static_cast<float>(z & 0xFFFFFF) / 16777216.0f;
if (!g_Config.backend_info.bSupportsReversedDepthRange)
if (!g_backend_info.bSupportsReversedDepthRange)
z_normalized = 1.f - z_normalized;
g_state_tracker->BeginClearRenderPass(clear_color, z_normalized);
return;