summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/IndexGenerator.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-03-07 14:43:39 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-09 01:42:45 -0600
commitc18c039089bdc27cbccf92a9053ed80bb161a9b9 (patch)
treeeaaaa442e14441bd678c0c433d5765fa84c549d4 /Source/Core/VideoCommon/IndexGenerator.cpp
parent99e686de34c2c862a01ee3859abb4b3256f04a63 (diff)
VideoCommon: Move backend_info out of VideoConfig struct.
Diffstat (limited to 'Source/Core/VideoCommon/IndexGenerator.cpp')
-rw-r--r--Source/Core/VideoCommon/IndexGenerator.cpp4
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>;