Bug fix of LLPipeline::setRenderDebugFeatureControl
This commit has no effect on how the viewer behaves currently.
This commit is contained in:
@@ -170,7 +170,7 @@ static bool handleRenderPerfTestChanged(const LLSD& newvalue)
|
|||||||
LLPipeline::RENDER_TYPE_CLASSIC_CLOUDS,
|
LLPipeline::RENDER_TYPE_CLASSIC_CLOUDS,
|
||||||
LLPipeline::RENDER_TYPE_HUD_PARTICLES,
|
LLPipeline::RENDER_TYPE_HUD_PARTICLES,
|
||||||
LLPipeline::END_RENDER_TYPES);
|
LLPipeline::END_RENDER_TYPES);
|
||||||
gPipeline.setRenderDebugFeatureControl(LLPipeline::RENDER_DEBUG_FEATURE_UI, false);
|
gPipeline.setRenderDebugFeatureControl(~(U32)0, false); // Reset all RENDER_DEBUG_FEATURE_* flags.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5951,7 +5951,7 @@ void LLPipeline::setRenderDebugFeatureControl(U32 bit, bool value)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gPipeline.mRenderDebugFeatureMask &= !bit;
|
gPipeline.mRenderDebugFeatureMask &= ~bit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user