Skip to content

SL-19591 Prompt user to save current settings as Graphics Preset before enabling AutoFPS#170

Merged
marchcat merged 1 commit intoDRTVWR-539from
marchcat/SL-19591
Apr 17, 2023
Merged

SL-19591 Prompt user to save current settings as Graphics Preset before enabling AutoFPS#170
marchcat merged 1 commit intoDRTVWR-539from
marchcat/SL-19591

Conversation

@marchcat
Copy link
Contributor

No description provided.

@marchcat marchcat self-assigned this Apr 14, 2023
@github-actions github-actions bot added the c/cpp label Apr 14, 2023
@marchcat marchcat merged commit 82fb4a0 into DRTVWR-539 Apr 17, 2023
@marchcat marchcat deleted the marchcat/SL-19591 branch April 17, 2023 22:36
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2023

void LLFloaterPerformance::enableAutotuneWarning()
{
if (!gSavedPerAccountSettings.getBOOL("HadEnabledAutoFPS") && LLPerfStats::tunables.userAutoTuneEnabled)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably shouldn't be in draw() and if you are putting it into draw at least make getBool into a static.

Copy link
Contributor Author

@marchcat marchcat Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

draw() is where the settings are being changed, so saving them before that.
Otherwise, sounds reasonable, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants