Commit Graph

1 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka ca27a47224 chore: add necessary imgui files for opengl3
feat: add glfw+opengl3 backend option to build.zig

feat: add backend impl for glfw+opengl3

chore: combine render() and draw() in backend

chore: handle all cases of enum

feat: add sdl2-opengl3 backend impl

fix: vcpkg stores SDL.h under SDL2 folder

macOS and Linux seem to not, so in order to get CI working again I
should make use of the preprocessor.

FIXME: I think this makes vcpkg a **hard** requirement which perhaps
isn't ideal if I want ZBA to be as easy to build as possible. I should
try ensuring that building w/out vcpkg works as well

chore: explicitly link SDL2

TODO: What happens on Windows? macOS?

feat: prefer SDL.h instead of SDL/SDL.h on all supported platforms

fix: restore import for glfw w/ opengl3 backend

rebase unalived that specific line. Whoops

fix: ensure that main.zig is removed

chore: Update to Zig v0.11.0
2023-10-07 02:59:02 -05:00