diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-30 17:00:48 +0900 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-30 17:00:48 +0900 |
commit | c48f0176412f2c15fbb3cbc6052550959f581da9 (patch) | |
tree | 8d637080281f0b50f3a303e5a62ccb44e2201b21 /src/ray.c | |
parent | 46e6de294243e8dc593551bfe8c0e7090d03a159 (diff) |
Displays are not shared libraries, but object files that are part of
the final executable.
Diffstat (limited to 'src/ray.c')
-rw-r--r-- | src/ray.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -292,3 +292,14 @@ ray_post_reload(void *state) TraceLog(LOG_INFO, "post-reload actions done"); } #endif + +#ifdef NDEBUG +static struct disp __ray_disp = { + .init = ray_init, + .display_calc = ray_display_calc, + .read_input = ray_read_input, + .display_res = ray_display_res, + .destroy = ray_destroy +}; +struct disp *ray_disp = &__ray_disp; +#endif |