diff options
| author | kkard2 <[email protected]> | 2025-09-14 12:14:31 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-14 12:14:31 +0200 |
| commit | d30d4c2c3832c1e4df1d4fb266b04ca4dfdd828b (patch) | |
| tree | e51489686eef2edf27a7c7e6268d6418478ddec3 /example.h | |
| parent | a554485534c83c2ecfa98f8c651ad957358a4034 (diff) | |
make examples more future proof (like if i want input and stuff)
Diffstat (limited to 'example.h')
| -rw-r--r-- | example.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,2 +1,11 @@ void init(); void draw_frame(sponge_Texture c); + + +#ifdef SPONGE_EXAMPLE_IMPLEMENTATION + +#ifndef SPONGE_EXAMPLE_INIT_DEFINED +void init() {} +#endif // SPONGE_EXAMPLE_INIT_DEFINED + +#endif // SPONGE_EXAMPLE_IMPLEMENTATION |
