diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 02:27:02 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 02:40:07 +0200 |
| commit | eee975a13c29ddbc838284a941332b905a18b430 (patch) | |
| tree | c043275c24c640a872fedfc8de1bcf434bda59b0 /src/platform/vulkan/vulkan_context.h | |
| parent | 31f6a54d35dd13f0911f132dc60f5f0d851d7e43 (diff) | |
refactor: trailing return types in the Vulkan backend
Diffstat (limited to 'src/platform/vulkan/vulkan_context.h')
| -rw-r--r-- | src/platform/vulkan/vulkan_context.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/platform/vulkan/vulkan_context.h b/src/platform/vulkan/vulkan_context.h index f84e52b..82c28c5 100644 --- a/src/platform/vulkan/vulkan_context.h +++ b/src/platform/vulkan/vulkan_context.h @@ -8,19 +8,19 @@ namespace Donut VulkanContext(); ~VulkanContext(); - bool init(); - void shutdown(); + auto init() -> bool; + auto shutdown() -> void; - bool self_test_clear(); + auto self_test_clear() -> bool; - bool self_test_triangle(); + auto self_test_triangle() -> bool; - bool render_geodesic(const char* png_path); + auto render_geodesic(const char* pngPath) -> bool; private: struct Impl; Impl* m_impl = nullptr; }; - bool vulkan_self_test(); + auto vulkan_self_test() -> bool; } |
