fix(renderer): minor mistake
This commit is contained in:
parent
131d3472ac
commit
26dd49188b
2 changed files with 5 additions and 5 deletions
|
@ -119,7 +119,7 @@ Context::Context(const ecs::Entity &surface_entity, Ref<app::SystemStats> system
|
|||
load_device_functions();
|
||||
|
||||
initialize_queue();
|
||||
initialize_surface();
|
||||
initialize_surface(surface_entity);
|
||||
}
|
||||
|
||||
Context::~Context()
|
||||
|
@ -273,7 +273,7 @@ void Context::initialize_queue()
|
|||
vk_get_device_queue(m_device, find_suitable_queue_family(), 0, &m_queue);
|
||||
}
|
||||
|
||||
void Context::initialize_surface()
|
||||
void Context::initialize_surface(const ecs::Entity &surface_entity)
|
||||
{
|
||||
const auto &component = surface_entity.get<surface::SurfaceComponent>();
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ private:
|
|||
|
||||
void initialize_queue();
|
||||
|
||||
void initialize_surface();
|
||||
void initialize_surface(const ecs::Entity &surface_entity);
|
||||
|
||||
void load_library();
|
||||
|
||||
|
@ -170,12 +170,12 @@ private:
|
|||
|
||||
NullOnMove<VkQueue> m_queue = VK_NULL_HANDLE;
|
||||
|
||||
NullOnMove<VkSwapchainKHR> m_swapcha = VK_NULL_HANDLE;
|
||||
|
||||
NullOnMove<VkDebugUtilsMessengerEXT> m_debug_messenger = VK_NULL_HANDLE;
|
||||
|
||||
NullOnMove<VkSurfaceKHR> m_surface = VK_NULL_HANDLE;
|
||||
|
||||
NullOnMove<VkSwapchainKHR> m_swapchain = VK_NULL_HANDLE;
|
||||
|
||||
Ref<app::SystemStats> m_stats;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue