aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.cpp
diff options
context:
space:
mode:
authorJeremy Hayes <jeremy@lunarg.com>2016-10-14 15:09:35 -0600
committerJeremy Hayes <jeremy@lunarg.com>2016-10-17 10:42:55 -0600
commit9e88d2940f927fbef3ccec16e438587126077b56 (patch)
tree90485b5d7072e6fd58686f8846a6fd9681bb0b54 /demos/cube.cpp
parent7f057d5bcb2e4a77daa68ac6c814450c03e2654a (diff)
downloadusermoji-9e88d2940f927fbef3ccec16e438587126077b56.tar.xz
demos: fix cubepp on wayland errors
Change-Id: I74fe07d170ee0e403357a018554ac9d6c754b6b5
Diffstat (limited to 'demos/cube.cpp')
-rw-r--r--demos/cube.cpp14
1 files changed, 7 insertions, 7 deletions
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};