diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-23 13:35:05 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2025-08-23 13:50:22 -0500 |
| commit | 14459bcc1b8d58bedfd68b6f15ab160a284c821e (patch) | |
| tree | d2c12a7cac6eef4f2f727683cf3e85797e4841c6 /Source/Core/VideoCommon/CPUCull.cpp | |
| parent | ab8a02566daaea1046fa272e2b7038790f3ba122 (diff) | |
VideoBackends / VideoCommon: rename member variables in RenderState to be consistent
Diffstat (limited to 'Source/Core/VideoCommon/CPUCull.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CPUCull.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/CPUCull.cpp b/Source/Core/VideoCommon/CPUCull.cpp index 5225bbabe5..8158e23a7e 100644 --- a/Source/Core/VideoCommon/CPUCull.cpp +++ b/Source/Core/VideoCommon/CPUCull.cpp @@ -160,12 +160,12 @@ bool CPUCull::AreAllVerticesCulled(VertexLoaderBase* loader, OpcodeDecoder::Prim static constexpr Common::EnumMap<CullMode, CullMode::All> cullmode_invert = { CullMode::None, CullMode::Front, CullMode::Back, CullMode::All}; - CullMode cullmode = bpmem.genMode.cullmode; + CullMode cull_mode = bpmem.genMode.cull_mode; if (xfmem.viewport.ht > 0) // See videosoftware Clipper.cpp:IsBackface - cullmode = cullmode_invert[cullmode]; + cull_mode = cullmode_invert[cull_mode]; const TransformFunction transform = m_transform_table[posHas3Elems][perVertexPosMtx]; transform(m_transform_buffer.get(), src, stride, count); - const CullFunction cull = m_cull_table[primitive][cullmode]; + const CullFunction cull = m_cull_table[primitive][cull_mode]; return cull(m_transform_buffer.get(), count); } |
