Commit Graph

15 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka f95f6b6f94 chore: remove extra branch from switch statement
survived a rebase 😔
2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 1c6205769f feat: prefer SDL.h instead of SDL/SDL.h on all supported platforms 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 99d138d5e8 chore: explicitly link SDL2
TODO: What happens on Windows? macOS?
2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 5ad078e5d6 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
2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 573b2347f6 feat: add sdl2-opengl3 backend impl 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka fd91b5ceaa chore: handle all cases of enum 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 45f02a82a8 chore: combine render() and draw() in backend 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 340dfa2bb7 feat: add backend impl for glfw+opengl3 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 8a2becdd79 feat: add glfw+opengl3 backend option to build.zig 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 9f23fbe948 chore: add necessary imgui files for opengl3 2023-03-26 23:03:32 -05:00
Rekai Nyangadzayi Musuka 63e18caa5b chore: add gitignore 2023-03-26 22:56:50 -05:00
Rekai Nyangadzayi Musuka 7e957cd16b chore: update upstream 2023-03-26 19:24:04 -05:00
Rekai Nyangadzayi Musuka 9491b6193e chore: update upstream 2023-02-07 17:23:40 -06:00
Rekai Nyangadzayi Musuka 976be5836e chore: update upstream 2023-01-16 03:28:18 -06:00
Rekai Nyangadzayi Musuka 8692808640 Initial Commit 2022-12-31 00:40:03 -06:00