diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f6a2de5..f4b1105 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ bool debug_draw_cmodels = false; bool debug_draw_paths = false; bool debug_draw_tile_coords = false; +render::state_t *debug_render; uint64_t nano_clock(void) { @@ -23,7 +24,8 @@ int main() size_t frame = 0; double before = NAN; - window.setVerticalSyncEnabled(false); + debug_render = &render; + window.setVerticalSyncEnabled(true); text::load_strings("pl"); assets::load(); |