Merge pull request #1295 from crudelios/remove-bbox-settings

Remove setting to enable or disable Bounding Box calculation.
This commit is contained in:
comex
2014-10-16 17:00:37 -04:00
18 changed files with 2 additions and 46 deletions

View File

@ -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)
{

View File

@ -195,7 +195,6 @@ void VideoConfig::GameIniLoad()
CHECK_SETTING("Video", "PH_SZFar", iPhackvalue[2]);
CHECK_SETTING("Video", "PH_ZNear", sPhackvalue[0]);
CHECK_SETTING("Video", "PH_ZFar", sPhackvalue[1]);
CHECK_SETTING("Video", "UseBBox", bUseBBox);
CHECK_SETTING("Video", "PerfQueriesEnable", bPerfQueriesEnable);
if (gfx_override_exists)

View File

@ -114,7 +114,6 @@ struct VideoConfig final
int iPhackvalue[3];
std::string sPhackvalue[2];
float fAspectRatioHackW, fAspectRatioHackH;
bool bUseBBox;
bool bEnablePixelLighting;
bool bFastDepthCalc;
int iLog; // CONF_ bits