summaryrefslogtreecommitdiffstats
path: root/NativeApp/include/Linux/LinuxAppBase.h
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-25 03:00:55 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-25 03:00:55 +0000
commit6699190149464be566b55e7726c04fb10010f788 (patch)
treed63af48bbd827310f4dc991d5df389a3c9bf82d2 /NativeApp/include/Linux/LinuxAppBase.h
parentclang-formatted ImGuiImpl (diff)
downloadDiligentTools-6699190149464be566b55e7726c04fb10010f788.tar.gz
DiligentTools-6699190149464be566b55e7726c04fb10010f788.zip
clang-formatted NativeApp
Diffstat (limited to 'NativeApp/include/Linux/LinuxAppBase.h')
-rw-r--r--NativeApp/include/Linux/LinuxAppBase.h16
1 files changed, 8 insertions, 8 deletions
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 <GL/glx.h>
@@ -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 <xcb/xcb.h>
+# include <xcb/xcb.h>
#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