summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorcrudelios <crudelios@gmail.com>2014-10-15 19:02:54 +0100
committercrudelios <crudelios@gmail.com>2014-10-15 19:02:54 +0100
commitd281b4d7e13eaf47e07778223861cd612cedf408 (patch)
treeaa4a144cdd889a37a938e971bdef45e5f2e570d8 /Source/Core/VideoCommon/VertexLoader.cpp
parent89123155960021d4a026f98a8fb6c1ca3a03a630 (diff)
Remove setting to enable or disable Bounding Box calculation.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 546eea0c54..291bb94c62 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -171,8 +171,7 @@ void VertexLoader::CompileVertexTranslator()
#endif
// Get the pointer to this vertex's buffer data for the bounding box
- if (g_ActiveConfig.bUseBBox)
- WriteCall(BoundingBox::SetVertexBufferPosition);
+ WriteCall(BoundingBox::SetVertexBufferPosition);
// Colors
const u64 col[2] = {m_VtxDesc.Color0, m_VtxDesc.Color1};
@@ -382,8 +381,7 @@ void VertexLoader::CompileVertexTranslator()
}
// Update the bounding box
- if (g_ActiveConfig.bUseBBox)
- WriteCall(BoundingBox::Update);
+ WriteCall(BoundingBox::Update);
if (m_VtxDesc.PosMatIdx)
{