mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Merge pull request #1295 from crudelios/remove-bbox-settings
Remove setting to enable or disable Bounding Box calculation.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user