fix: assign present_mode to surface config instead of no-op read #676
No reviewers
Labels
No labels
Context: Async
Context: Bug
Context: CI
Context: Dependencies
Context: Documentation
Context: Enhancement
Context: Example
Context: Macro
Context: Runtime
Difficulty: Easy
Difficulty: Hard
Difficulty: Medium
Platform: Android
Platform: iOS
Platform: Linux
Platform: macOS
Platform: Web
Platform: Windows
Type: Discussion
Type: Evaluation
Type: Tracker
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SakulFlee/Orbital!676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/vsync-present-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #668
The
make_surface_configurationmethod computedpresent_modefrom thevsyncparameter but the value was never assigned — it was a no-op expression statement. This meant VSync settings had no effect; the surface always used whateverget_default_configreturned.Fix:
default_config.present_mode = present_mode;