Skip to content

fix(gui): configure the surface again when it is outdated - #45

Merged
dkmstr merged 1 commit into
masterfrom
fix/wgpu-surface-outdated
Oct 30, 2026
Merged

dkmstr merged 1 commit into
masterfrom
fix/wgpu-surface-outdated

Conversation

@dkmstr

@dkmstr dkmstr commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

get_current_texture() returns Outdated when the swap chain no longer matches the window, and wgpu expects configure() to be called before the next frame. The renderer only logged the error, and reconfigure() returns early when the size has not changed, so the RDP window stayed frozen while the log filled with 'Surface error: Outdated'.

Lost is left as is: it needs the surface to be recreated, not configured.

get_current_texture() returns Outdated when the swap chain no longer matches
the window, and wgpu expects configure() to be called before the next frame.
The renderer only logged the error, and reconfigure() returns early when the
size has not changed, so the RDP window stayed frozen while the log filled
with 'Surface error: Outdated'.

Lost is left as is: it needs the surface to be recreated, not configured.
@dkmstr
dkmstr merged commit 44d86f4 into master Oct 30, 2026
2 checks passed
@aschumann-virtualcable
aschumann-virtualcable deleted the fix/wgpu-surface-outdated branch November 3, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants