From 6699190149464be566b55e7726c04fb10010f788 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 24 Nov 2019 19:00:55 -0800 Subject: clang-formatted NativeApp --- NativeApp/include/Linux/LinuxAppBase.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'NativeApp/include/Linux/LinuxAppBase.h') diff --git a/NativeApp/include/Linux/LinuxAppBase.h b/NativeApp/include/Linux/LinuxAppBase.h index e4c6a3e..eb900f7 100644 --- a/NativeApp/include/Linux/LinuxAppBase.h +++ b/NativeApp/include/Linux/LinuxAppBase.h @@ -21,7 +21,7 @@ * of the possibility of such damages. */ -#pragma once +#pragma once #include @@ -29,17 +29,17 @@ // Undef symbols defined by XLib #ifdef Bool -# undef Bool +# undef Bool #endif #ifdef True -# undef True +# undef True #endif #ifdef False -# undef False +# undef False #endif #if VULKAN_SUPPORTED -#include +# include #endif #include "AppBase.h" @@ -51,12 +51,12 @@ class LinuxAppBase : public AppBase { public: virtual void OnGLContextCreated(Display* display, Window window) = 0; - virtual int HandleXEvent(XEvent* xev){} + virtual int HandleXEvent(XEvent* xev) {} #if VULKAN_SUPPORTED virtual bool InitVulkan(xcb_connection_t* connection, uint32_t window) = 0; - virtual void HandleXCBEvent(xcb_generic_event_t* event){} + virtual void HandleXCBEvent(xcb_generic_event_t* event) {} #endif }; -} +} // namespace Diligent -- cgit v1.2.3