diff options
author | Frederico Linhares <fred@linhares.blue> | 2024-05-16 14:22:35 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2024-05-16 14:22:35 -0300 |
commit | d5a2b6bca9f9cc57dcca19962d5ba9b83d26da3e (patch) | |
tree | fa4decb441b0cc5cd189183166a324079f37c45a /src/blucat/device.cpp | |
parent | 43821b0cffc5aa419c0218992f06f8962ae54a13 (diff) |
Diffstat (limited to 'src/blucat/device.cpp')
-rw-r--r-- | src/blucat/device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blucat/device.cpp b/src/blucat/device.cpp index cf21fa4..8ce6d17 100644 --- a/src/blucat/device.cpp +++ b/src/blucat/device.cpp @@ -23,7 +23,7 @@ #include <sstream> #endif -#include "../core.hpp" +#include "core.hpp" namespace { @@ -98,7 +98,7 @@ Device::Device(VkPhysicalDevice vk_physical_device, bool with_swapchain) message << "Device ID: " << physical_properties.deviceID << std::endl; message << "Device type: " << physical_properties.deviceType << std::endl; - cg_core.log.message(Log::Level::Trace, message.str()); + core.log.message(Log::Level::Trace, message.str()); #endif std::vector<VkDeviceQueueCreateInfo> device_queue_create_infos; @@ -300,7 +300,7 @@ Device::Device(VkPhysicalDevice vk_physical_device, bool with_swapchain) // Select families with presentation support. VkBool32 present_supported; vkGetPhysicalDeviceSurfaceSupportKHR( - vk_physical_device, i, cg_core.window_surface, &present_supported); + vk_physical_device, i, core.window_surface, &present_supported); if(present_supported) this->queue_families_with_presentation.push_back( &this->queue_families[i]); |