summaryrefslogtreecommitdiffstats
path: root/NativeApp/include/Linux/LinuxAppBase.h
diff options
context:
space:
mode:
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