From 5aaf3a9c39fbca1fa0a97f44fe5f09781bddd386 Mon Sep 17 00:00:00 2001 From: Deve Date: Fri, 26 Jan 2018 21:41:39 +0100 Subject: [PATCH] Comment out unused wayland code to avoid compilation errors with clang --- .../source/Irrlicht/CIrrDeviceWayland.cpp | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp index 42247e4fa..5504123fa 100644 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp @@ -534,23 +534,23 @@ public: int32_t width, int32_t height, wl_array* states) { - void* state_p; + //void* state_p; - wl_array_for_each(state_p, states) - { - uint32_t state = *(uint32_t*)state_p; - - switch (state) - { - case ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN: - case ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED: - case ZXDG_TOPLEVEL_V6_STATE_ACTIVATED: - case ZXDG_TOPLEVEL_V6_STATE_RESIZING: - break; - default: - break; - } - } + //wl_array_for_each(state_p, states) + //{ + // uint32_t state = *(uint32_t*)state_p; + // + // switch (state) + // { + // case ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN: + // case ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED: + // case ZXDG_TOPLEVEL_V6_STATE_ACTIVATED: + // case ZXDG_TOPLEVEL_V6_STATE_RESIZING: + // break; + // default: + // break; + // } + //} } static void xdg_toplevel_close(void* data, zxdg_toplevel_v6* xdg_toplevel)