diff options
author | Simon Ser <contact@emersion.fr> | 2023-05-04 13:31:29 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-04 13:31:29 +0200 |
commit | 403eac51c4b43fc6a78d3c301ca5d3a09284ded0 (patch) | |
tree | 58e9114c69056b636e88f3300371dcc627f93e6e /render | |
parent | ec796afb6e7fdcdd9aa1e616e703cedc195d3e33 (diff) |
render/vulkan: fix code style for function brackets
Diffstat (limited to 'render')
-rw-r--r-- | render/vulkan/renderer.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 658cc4b7..2adb1822 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -2247,26 +2247,22 @@ struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(int drm_fd) { return vulkan_renderer_create_for_device(dev); } -VkInstance wlr_vk_renderer_get_instance(struct wlr_renderer *renderer) -{ +VkInstance wlr_vk_renderer_get_instance(struct wlr_renderer *renderer) { struct wlr_vk_renderer *vk_renderer = vulkan_get_renderer(renderer); return vk_renderer->dev->instance->instance; } -VkPhysicalDevice wlr_vk_renderer_get_physical_device(struct wlr_renderer *renderer) -{ +VkPhysicalDevice wlr_vk_renderer_get_physical_device(struct wlr_renderer *renderer) { struct wlr_vk_renderer *vk_renderer = vulkan_get_renderer(renderer); return vk_renderer->dev->phdev; } -VkDevice wlr_vk_renderer_get_device(struct wlr_renderer *renderer) -{ +VkDevice wlr_vk_renderer_get_device(struct wlr_renderer *renderer) { struct wlr_vk_renderer *vk_renderer = vulkan_get_renderer(renderer); return vk_renderer->dev->dev; } -uint32_t wlr_vk_renderer_get_queue_family(struct wlr_renderer *renderer) -{ +uint32_t wlr_vk_renderer_get_queue_family(struct wlr_renderer *renderer) { struct wlr_vk_renderer *vk_renderer = vulkan_get_renderer(renderer); return vk_renderer->dev->queue_family; } |