Skip to content

Port to SFML 3#769

Open
thypon wants to merge 2 commits into
mickelson:masterfrom
thypon:sfml3
Open

Port to SFML 3#769
thypon wants to merge 2 commits into
mickelson:masterfrom
thypon:sfml3

Conversation

@thypon

@thypon thypon commented Mar 28, 2026

Copy link
Copy Markdown
  • Update video mode API: vm.width/height -> vm.size.x/y
  • Migrate event handling to new SFML 3 API: ev.is() and ev.getIf()
  • Add window state mapping using sf::State enum
  • Replace deprecated getSystemHandle() with getNativeHandle()
  • Update SoundStream API for SFML 3

- Update video mode API: vm.width/height -> vm.size.x/y
- Migrate event handling to new SFML 3 API: ev.is<T>() and ev.getIf<T>()
- Add window state mapping using sf::State enum
- Replace deprecated getSystemHandle() with getNativeHandle()
- Update SoundStream API for SFML 3
SFML 3.1 provides a sfml-all pkg-config file. When found, use it to
resolve all SFML module dependencies (including the new sfml-audio
and sfml-network modules), falling back to individual module libs.
@mickelson

Copy link
Copy Markdown
Owner

thanks, this looks great! I’m going to try to get sfml3 set up on my system to try this out soon

@thypon

thypon commented Jun 2, 2026

Copy link
Copy Markdown
Author

@mickelson any luck with this?

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