Fixed by initializing the data.
This commit is contained in:
parent
c905ef9ca7
commit
6d29fb718b
1 changed files with 15 additions and 16 deletions
|
|
@ -36,6 +36,7 @@ void VulkanEngine::init()
|
|||
init_descriptors();
|
||||
init_pipelines();
|
||||
_gui.init_imgui(VulkanEngine::Get());
|
||||
init_default_data();
|
||||
|
||||
//everything went fine
|
||||
_isInitialized = true;
|
||||
|
|
@ -800,5 +801,3 @@ void VulkanEngine::init_default_data() {
|
|||
destroy_buffer(rectangle.vertexBuffer);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue