mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 04:51:18 +00:00
Add vma
This commit is contained in:
parent
ffed4a9deb
commit
2fd4453de6
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -19,3 +19,6 @@
|
||||
[submodule "dependencies/volk"]
|
||||
path = dependencies/volk
|
||||
url = https://github.com/zeux/volk
|
||||
[submodule "dependencies/VulkanMemoryAllocator"]
|
||||
path = dependencies/VulkanMemoryAllocator
|
||||
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
|
||||
|
1
dependencies/VulkanMemoryAllocator
vendored
Submodule
1
dependencies/VulkanMemoryAllocator
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c351692490513cdb0e5a2c925aaf7ea4a9b672f4
|
@ -7,7 +7,7 @@ namespace engine {
|
||||
|
||||
Application::Application(const char* appName, const char* appVersion)
|
||||
{
|
||||
m_win = std::make_unique<Window>(appName, true);
|
||||
m_win = std::make_unique<Window>(appName, false);
|
||||
m_gfx = std::make_unique<GFXDevice>(appName, appVersion, m_win->getHandle());
|
||||
}
|
||||
|
||||
|
@ -952,6 +952,7 @@ namespace engine {
|
||||
DepthStencil& operator=(const DepthStencil&) = delete;
|
||||
~DepthStencil()
|
||||
{
|
||||
TRACE("Destroying DepthStencil...");
|
||||
vkDestroyImageView(m_device->getHandle(), m_imageView, nullptr);
|
||||
vkFreeMemory(m_device->getHandle(), m_imageMemory, nullptr);
|
||||
vkDestroyImage(m_device->getHandle(), m_image, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user