remove timed_scope from mem_edit.DrawContents

This commit is contained in:
silverweed 2024-07-16 17:58:33 +02:00
parent 4970a30ea9
commit 3d7f61362b

View file

@ -217,10 +217,7 @@ void update_and_render(Arena *arena, App_State &app, f32 delta_time_ms)
void *content = app.inspected_file.mem + app.viewer.base_display_addr; void *content = app.inspected_file.mem + app.viewer.base_display_addr;
u64 content_size = app.inspected_file.size - app.viewer.base_display_addr; u64 content_size = app.inspected_file.size - app.viewer.base_display_addr;
app.last_pinfo = &invalid_pinfo; app.last_pinfo = &invalid_pinfo;
{
TIMED_SCOPE();
app.viewer.mem_edit.DrawContents(content, content_size, app.viewer.base_display_addr); app.viewer.mem_edit.DrawContents(content, content_size, app.viewer.base_display_addr);
}
ImGui::TableNextColumn(); ImGui::TableNextColumn();
ImGuiColorEditFlags flags = ImGuiColorEditFlags_NoInputs|ImGuiColorEditFlags_NoLabel; ImGuiColorEditFlags flags = ImGuiColorEditFlags_NoInputs|ImGuiColorEditFlags_NoLabel;