Show DXVK_FRAME_RATE
limit on hud if set
#1086
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check if DXVK_FRAME_RATE is set and uses it to show instead of fps limit:
This change is purely visual. Of course it does not check DXVK config.
Tested on Elite: Dangerous in following combinations:
DXVK_FRAME_RATE
variable set and no config limit - showsFps limit [late]: 0
DXVK_FRAME_RATE=75
and no config limit - shows like in screenshotfps_limit=60
in config andDXVK_FRAME_RATE=75
-Fps limit [late]: 60
fps_limit_method=early
- works as expectedfps_limit_method=late
- works as 3You may think this implementation is rather dirty and environment read should be decoupled from the hud element. If so, you can simply close this PR and think it is a feature request, because C++ is not my main language and thus I'm not able to deep dive in this project in reasonable amount of time.