From 33bc5c8c021cd5f337554d33d5ce85a0e6b364b3 Mon Sep 17 00:00:00 2001 From: Joey Bzdek Date: Wed, 14 Jun 2017 10:33:36 -0600 Subject: demos: Clang-format Wayland and cube.cpp refactor Change-Id: I73dac6489e41a94fc53a1c7942888a3a6479a805 --- demos/cube.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/cube.cpp') diff --git a/demos/cube.cpp b/demos/cube.cpp index 87a01d99..41011b26 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -324,7 +324,7 @@ struct Demo { uint32_t swapchainImageCount; vk::SwapchainKHR swapchain; - std::unique_ptr buffers; + std::unique_ptr swapchain_image_resources; vk::PresentModeKHR presentMode; vk::Fence fences[FRAME_LAG]; uint32_t frame_index; @@ -410,7 +410,7 @@ static void pointer_handle_motion(void *data, struct wl_pointer *pointer, uint32 static void pointer_handle_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial, uint32_t time, uint32_t button, uint32_t state) { - Demo *demo = (Demo *)data; + Demo *demo = (Demo *)data; if (button == BTN_LEFT && state == WL_POINTER_BUTTON_STATE_PRESSED) { wl_shell_surface_move(demo->shell_surface, demo->seat, serial); } -- cgit v1.2.3