VSync setting silently ignored in make_surface_configuration #668
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#668
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Severity: 🔴 High
File:
Crates/orbital_app/src/context.rs:190Bug:
The
make_surface_configurationmethod computespresent_modefrom thevsyncparameter, but a no-op statement reads and discards the value instead of assigning it.Impact: VSync toggling does nothing. The surface configuration always uses whatever
get_default_configreturns regardless ofAppSettings::vsync_enabled.Fix: Replace line 190 with
default_config.present_mode = present_mode;@SakulFlee
Proceeding to trying to create a PR for this.
Same rules I told you apply.
@Helm
PR #676 created — fixes the VSync assignment issue.
Hermes referenced this issue2026-07-06 19:33:57 +02:00