diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-03-10 15:06:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-10 15:06:19 -0400 |
| commit | 5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (patch) | |
| tree | 946de379d9606f4ba12e76f8bec7483fc282833c /Source/Core/VideoCommon/IndexGenerator.cpp | |
| parent | d45e6c67293f10be4159d4e222ad3e903d7a835b (diff) | |
| parent | c18c039089bdc27cbccf92a9053ed80bb161a9b9 (diff) | |
Merge pull request #13403 from jordan-woyak/backend_info
VideoCommon: Move backend_info out of VideoConfig struct.
Diffstat (limited to 'Source/Core/VideoCommon/IndexGenerator.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/IndexGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/IndexGenerator.cpp b/Source/Core/VideoCommon/IndexGenerator.cpp index 03d0815a13..91db420950 100644 --- a/Source/Core/VideoCommon/IndexGenerator.cpp +++ b/Source/Core/VideoCommon/IndexGenerator.cpp @@ -266,7 +266,7 @@ void IndexGenerator::Init() { using OpcodeDecoder::Primitive; - if (g_Config.backend_info.bSupportsPrimitiveRestart) + if (g_backend_info.bSupportsPrimitiveRestart) { m_primitive_table[Primitive::GX_DRAW_QUADS] = AddQuads<true>; m_primitive_table[Primitive::GX_DRAW_QUADS_2] = AddQuads_nonstandard<true>; @@ -284,7 +284,7 @@ void IndexGenerator::Init() } if (g_Config.UseVSForLinePointExpand()) { - if (g_Config.backend_info.bSupportsPrimitiveRestart) + if (g_backend_info.bSupportsPrimitiveRestart) { m_primitive_table[Primitive::GX_DRAW_LINES] = AddLines_VSExpand<true, false>; m_primitive_table[Primitive::GX_DRAW_LINE_STRIP] = AddLines_VSExpand<true, true>; |
