summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-10-16 17:00:37 -0400
committercomex <comexk@gmail.com>2014-10-16 17:00:37 -0400
commit1ff86a47165d885625b33677e6a0bde752a525fb (patch)
tree6cc4ba9159076103c165e88a62b7379054bfde76 /Source/Core/VideoCommon/VertexLoader.cpp
parentcedf0f68a847ca9dfd7fad90e63986748ee30810 (diff)
parentd281b4d7e13eaf47e07778223861cd612cedf408 (diff)
Merge pull request #1295 from crudelios/remove-bbox-settings
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)
{