Skip to content

Commit

Permalink
make cleanup public
Browse files Browse the repository at this point in the history
  • Loading branch information
tadgem committed Jul 5, 2024
1 parent 70f3641 commit 942269b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion backends/sdl/src/VulkanAPI_SDL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

lvk::VulkanAPI_SDL::~VulkanAPI_SDL()
{
Cleanup();
}

void lvk::VulkanAPI_SDL::HandleSDLEvent(SDL_Event& sdl_event)
Expand Down
3 changes: 1 addition & 2 deletions lvk/include/lvk/VulkanAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ namespace lvk
virtual void InitImGuiBackend() = 0;
virtual void CleanupImGuiBackend() = 0;
void CleanupImGui();

void Cleanup();
protected:
// Debug
bool CheckValidationLayerSupport();
Expand All @@ -242,7 +242,6 @@ namespace lvk
void RenderImGui();
VkApplicationInfo CreateAppInfo();
void CreateInstance();
void Cleanup();
void CleanupVulkan();
QueueFamilyIndices FindQueueFamilies(VkPhysicalDevice physicalDevice);
SwapChainSupportDetais GetSwapChainSupportDetails(VkPhysicalDevice physicalDevice);
Expand Down

0 comments on commit 942269b

Please sign in to comment.