Skip to content

Commit

Permalink
vulkan: Use correct corresponding macro for IM_NEW()
Browse files Browse the repository at this point in the history
  • Loading branch information
gort818 committed Sep 21, 2023
1 parent 22d2de4 commit 41e4859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ static void shutdown_swapchain_data(struct swapchain_data *data)
device_data->vtable.DestroySampler(device_data->device, data->font_sampler, NULL);
shutdown_swapchain_font(data);

IM_FREE(data->font_atlas);
IM_DELETE(data->font_atlas);
ImGui::DestroyContext(data->imgui_context);
}

Expand Down

0 comments on commit 41e4859

Please sign in to comment.