Skip to content

v0.2.1 SDL3 as a Zig dependency, cross-platform fixes, D3D12 on Win, app icons - #3

Open
mlavergn wants to merge 1 commit into
ddalcu:mainfrom
mlavergn:sdl3-dx12-icons
Open

mlavergn wants to merge 1 commit into
ddalcu:mainfrom
mlavergn:sdl3-dx12-icons

Conversation

@mlavergn

@mlavergn mlavergn commented Nov 8, 2026

Copy link
Copy Markdown

Nice module, here's PR if you want. It embeds the SDL3 dependency, fixed Win DX3D target, adds app icons, and fixes utf8 handling on Linux. I provided a Makefile to call zig build targets with platform triples.

  • SDL3 built from source via lazy castholm/SDL dependency (no system install)
  • Makefile: demo, windows/linux/linux-arm64/macos-arm64/cross targets, fixed docs serve
  • -Dmacos-sdk for explicit macOS targets; Windows exes use GUI subsystem (-Dwindows-console opt-out)
  • Direct3D 12 backend: HLSL shaders compiled at runtime to DXBC, Vulkan/software fallback
  • App icon: SVG source, generated .ico/.png (tools/icon/mkico.py), Config.icon_png, Windows resource
  • Linux: installDesktopEntry / --install-desktop; UTF-8 LC_CTYPE fixes X11 title mojibake
  • Zig 0.17: @intFromEnum -> @backingInt

- SDL3 built from source via lazy castholm/SDL dependency (no system install)
- Makefile: demo, windows/linux/linux-arm64/macos-arm64/cross targets, fixed docs serve
- -Dmacos-sdk for explicit macOS targets; Windows exes use GUI subsystem (-Dwindows-console opt-out)
- Direct3D 12 backend: HLSL shaders compiled at runtime to DXBC, Vulkan/software fallback
- App icon: SVG source, generated .ico/.png (tools/icon/mkico.py), Config.icon_png, Windows resource
- Linux: installDesktopEntry / --install-desktop; UTF-8 LC_CTYPE fixes X11 title mojibake
- Zig 0.17: @intFromEnum -> @backingInt
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.

1 participant