diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-31 14:22:09 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-31 14:26:11 -0700 |
commit | e3d7338a979e1c2cba2328df5ac29856f4de1e0e (patch) | |
tree | 80a35955f1b79623a7c5ff0ec3cc5a6d00e11d72 /src/macros.h | |
parent | b4911c2abfa513e91c82a712ef277f7e6209b502 (diff) |
play: add flags to play_startup()
Introduce flags for disabling audio/video/gamecontroller caps
Most of the time, all of these will be desirable for a game. But
sometimes I might use this as a quick bootstrap into SDL land,
especially as I accumulate play_ops_t boilerplate I'd like to
be maximally reusable. The video-only use case is particularly
likely especially for development tools, and I'm likely to have
a corpus of play_ops_t integrations for the myriad GL/vulkan
flavors...
Note the flags are plumbed down to the play_ops_t.init hook so
ops implementations can also be flags-aware.
I didn't try make things like audio samplerate/channels
configurable, as this library is intended to be a vendored .a
anyways there's no hard ABI/API commitments. It can always
grow and evolve when the need arises.
Diffstat (limited to 'src/macros.h')
0 files changed, 0 insertions, 0 deletions