From 9e88d2940f927fbef3ccec16e438587126077b56 Mon Sep 17 00:00:00 2001 From: Jeremy Hayes Date: Fri, 14 Oct 2016 15:09:35 -0600 Subject: demos: fix cubepp on wayland errors Change-Id: I74fe07d170ee0e403357a018554ac9d6c754b6b5 --- demos/cube.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'demos/cube.cpp') diff --git a/demos/cube.cpp b/demos/cube.cpp index 8d410bf7..a0c7c477 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -2823,18 +2823,18 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLine, #elif __linux__ #if defined(VK_USE_PLATFORM_WAYLAND_KHR) -static void handle_ping(void *data UNUSED, wl_shell_surface *shell_surface, +static void handle_ping(void *data, wl_shell_surface *shell_surface, uint32_t serial) { wl_shell_surface_pong(shell_surface, serial); } -static void handle_configure(void *data UNUSED, - wl_shell_surface *shell_surface UNUSED, - uint32_t edges UNUSED, int32_t width UNUSED, - int32_t height UNUSED) {} +static void handle_configure(void *data, + wl_shell_surface *shell_surface, + uint32_t edges, int32_t width, + int32_t height) {} -static void handle_popup_done(void *data UNUSED, - wl_shell_surface *shell_surface UNUSED) {} +static void handle_popup_done(void *data, + wl_shell_surface *shell_surface) {} static const wl_shell_surface_listener shell_surface_listener = { handle_ping, handle_configure, handle_popup_done}; -- cgit v1.2.3