From e4413544ce52e9523a08d394ac756314e3670593 Mon Sep 17 00:00:00 2001 From: praydog Date: Mon, 29 Apr 2024 12:17:08 -0700 Subject: [PATCH] Fix other games failing to compile --- src/mods/Graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mods/Graphics.cpp b/src/mods/Graphics.cpp index a9105bb2a..81e2e8484 100644 --- a/src/mods/Graphics.cpp +++ b/src/mods/Graphics.cpp @@ -56,10 +56,12 @@ void Graphics::on_frame() { m_disable_gui->toggle(); } +#if TDB_VER >= 69 if (m_ray_tracing_tweaks->value()) { setup_path_trace_hook(); apply_ray_tracing_tweaks(); } +#endif } void Graphics::on_draw_ui() {