aboutsummaryrefslogtreecommitdiff
path: root/src/ray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ray.c')
-rw-r--r--src/ray.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ray.c b/src/ray.c
index 3050e5a..9fb9023 100644
--- a/src/ray.c
+++ b/src/ray.c
@@ -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