diff options
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]); |