mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Remove setting to enable or disable Bounding Box calculation.
This commit is contained in:
parent
8912315596
commit
d281b4d7e1
18 changed files with 2 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue