aboutsummaryrefslogtreecommitdiff
path: root/src/vulkan/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/device.h')
-rw-r--r--src/vulkan/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/device.h b/src/vulkan/device.h
index e55bf88..28c9b81 100644
--- a/src/vulkan/device.h
+++ b/src/vulkan/device.h
@@ -23,7 +23,7 @@
#include "amber/amber.h"
#include "amber/result.h"
#include "amber/vulkan_header.h"
-#include "src/buffer_data.h"
+#include "src/buffer.h"
#include "src/format.h"
namespace amber {
@@ -50,7 +50,7 @@ class Device {
const VkPhysicalDeviceFeatures2KHR& available_features2,
const std::vector<std::string>& available_extensions);
- bool IsFormatSupportedByPhysicalDevice(const Format& format, BufferType type);
+ bool IsFormatSupportedByPhysicalDevice(const Format& format, Buffer* buffer);
VkDevice GetVkDevice() const { return device_; }
VkQueue GetVkQueue() const { return queue_; }