Update DeviceManager
This commit is contained in:
@@ -47,7 +47,7 @@ namespace openVulkanoCpp
|
||||
|
||||
[[nodiscard]] std::string GetDeviceName() const
|
||||
{
|
||||
return properties.deviceName;
|
||||
return properties.deviceName.data();
|
||||
}
|
||||
|
||||
void PrepareDevice(const vk::ArrayProxy<const std::string>& requestedExtensions, const vk::SurfaceKHR& surface);
|
||||
@@ -75,7 +75,7 @@ namespace openVulkanoCpp
|
||||
|
||||
void ExecuteNow(const std::function<void(const vk::CommandBuffer& commandBuffer)>& function) const;
|
||||
|
||||
vk::ShaderModule CreateShaderModule(const std::string& filename) const;
|
||||
[[nodiscard]] vk::ShaderModule CreateShaderModule(const std::string& filename) const;
|
||||
|
||||
vk::ShaderModule CreateShaderModule(vk::ShaderModuleCreateInfo& createInfo) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user