From a4bd8197b981dd2533f15e5a3a3ae2713749ed12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Thu, 13 May 2021 14:45:39 +0200 Subject: [PATCH] dont measure debug_draw in PROF_RENDER scope --- code/game/source/platform_raylib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/source/platform_raylib.c b/code/game/source/platform_raylib.c index 2e3319b..958953a 100644 --- a/code/game/source/platform_raylib.c +++ b/code/game/source/platform_raylib.c @@ -133,11 +133,10 @@ void platform_render() { BeginMode2D(render_camera); game_world_view_active_entity_map(DEBUG_draw_ground); game_world_view_active_entity_map(DEBUG_draw_entities); - EndMode2D(); - + EndMode2D(); display_conn_status(); - debug_draw(); } + debug_draw(); EndDrawing(); }