Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the SDL3+GPU API backend. #17

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

PMarcL
Copy link
Contributor

@PMarcL PMarcL commented Feb 8, 2025

Added the SL3 and the SDL3 GPU backends copied from ImGui v1.9.8-docking (more details in #13).

A few notes:

  • I had to update the zsdl dependency to the latest commit to get the SDL3 header files.
  • As discussed in SDL3 + GPU backend #13, this particular backend has 3 functions instead of a single draw function to render the GUI.
  • A functional example using the new backend can be found here.

PMarcL added a commit to PMarcL/zgui-SDL3-GPU-example that referenced this pull request Feb 13, 2025
Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hazeycode hazeycode merged commit e808643 into zig-gamedev:main Feb 20, 2025
3 checks passed
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.

3 participants