From 690a354bd1a6a4ca2ce9895ca31f09a04c1378f4 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Thu, 2 May 2019 14:07:41 +0100 Subject: [PATCH] comp: Code style --- src/xrt/compositor/main/comp_compositor.h | 5 +++-- src/xrt/compositor/main/comp_renderer.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/xrt/compositor/main/comp_compositor.h b/src/xrt/compositor/main/comp_compositor.h index f610070ac..65c82c05f 100644 --- a/src/xrt/compositor/main/comp_compositor.h +++ b/src/xrt/compositor/main/comp_compositor.h @@ -40,7 +40,8 @@ struct comp_swapchain_image VkDeviceMemory memory; //! Sampler used by the renderer and distortion code. VkSampler sampler; - //! Views used by the renderer and distortion code, for each array layer. + //! Views used by the renderer and distortion code, for each array + //! layer. VkImageView *views; }; @@ -159,7 +160,7 @@ comp_swapchain_create(struct xrt_compositor *xc, */ void comp_swapchain_image_cleanup(struct vk_bundle *vk, - uint32_t array_size, + uint32_t array_size, struct comp_swapchain_image *image); /*! diff --git a/src/xrt/compositor/main/comp_renderer.h b/src/xrt/compositor/main/comp_renderer.h index 4c1a2dfbc..09910bcd9 100644 --- a/src/xrt/compositor/main/comp_renderer.h +++ b/src/xrt/compositor/main/comp_renderer.h @@ -37,9 +37,9 @@ comp_renderer_create(struct comp_compositor *c); void comp_renderer_frame(struct comp_renderer *r, struct comp_swapchain_image *left, - uint32_t left_layer, + uint32_t left_layer, struct comp_swapchain_image *right, - uint32_t right_layer); + uint32_t right_layer); /*! * Clean up and free the renderer.