diff options
| author | degasus <wickmarkus@web.de> | 2015-04-06 02:17:57 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-05-25 09:33:34 +0200 |
| commit | acd074e291d287080031d7295baa6e2f7862440f (patch) | |
| tree | 8e4d38caf103282d5a2ae38ca8357168b70c4fe6 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | ac0e3041599429f271d6fddc284ec3e4753c0cd3 (diff) | |
VideoCommon: Make BBox emulation optional
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 49b6d23e1a..8e5c73b6a0 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -88,7 +88,7 @@ void VertexLoader::CompileVertexTranslator() m_numPipelineStages = 0; // Get the pointer to this vertex's buffer data for the bounding box - if (!g_ActiveConfig.backend_info.bSupportsBBox) + if (!g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable) WriteCall(BoundingBox::SetVertexBufferPosition); // Colors @@ -299,7 +299,7 @@ void VertexLoader::CompileVertexTranslator() } // Update the bounding box - if (!g_ActiveConfig.backend_info.bSupportsBBox) + if (!g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable) WriteCall(BoundingBox::Update); // indexed position formats may skip a the vertex @@ -326,7 +326,7 @@ int VertexLoader::RunVertices(DataReader src, DataReader dst, int count, int pri m_skippedVertices = 0; // Prepare bounding box - if (!g_ActiveConfig.backend_info.bSupportsBBox) + if (!g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable) BoundingBox::Prepare(m_vat, primitive, m_VtxDesc, m_native_vtx_decl); for (int s = 0; s < count; s++) |
