Remove setting to enable or disable Bounding Box calculation.

This commit is contained in:
crudelios
2014-10-15 19:02:54 +01:00
parent 8912315596
commit d281b4d7e1
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