Skip to content

Use dotclock instead of rate in xlib vidmoderestore set_initial_mode#1285

Merged
benmoran56 merged 1 commit intopyglet:masterfrom
csd4ni3l:csd4ni3l-fix-dotclock-xlibvidemoderestore
Mar 7, 2025
Merged

Use dotclock instead of rate in xlib vidmoderestore set_initial_mode#1285
benmoran56 merged 1 commit intopyglet:masterfrom
csd4ni3l:csd4ni3l-fix-dotclock-xlibvidemoderestore

Conversation

@csd4ni3l
Copy link
Copy Markdown
Contributor

@csd4ni3l csd4ni3l commented Mar 6, 2025

  • Since now the mode.rate is the actual hz value on Xlib, its not the dotclock. It was only used in xlib videmoderestore in the code, so replacing with dotclock fixes the issue.

Fixes #1284

- Since now the mode.rate is the actual hz value on Xlib, its not the dotclock. It was only used in xlib videmoderestore in the code, so replacing with dotclock fixes the issue.
@csd4ni3l csd4ni3l changed the title Use dotclock instead of rate in xlib vidmoderestore Use dotclock instead of rate in xlib vidmoderestore set_initial_mode Mar 6, 2025
@benmoran56 benmoran56 merged commit 99ffb1e into pyglet:master Mar 7, 2025
16 checks passed
@csd4ni3l csd4ni3l deleted the csd4ni3l-fix-dotclock-xlibvidemoderestore branch April 24, 2025 08:20
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.

Pyglet v2.1.3 crashes when starting a window with fullscreen=True

2 participants