From 4a42344e9748d2b44c55798ddc3fa41448533c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Conzelmann?= <45296195+zephvr@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:54:56 +0100 Subject: style/ci: apply clang-format and verify it in ci (#4039) * style: apply clang-format * ci: add new clang-format job to CI --- src/SharedDefs.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/SharedDefs.hpp') diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index 19d26b61..4b1524b3 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -2,8 +2,7 @@ #include "helpers/Vector2D.hpp" -enum eIcons -{ +enum eIcons { ICON_WARNING = 0, ICON_INFO, ICON_HINT, @@ -13,8 +12,7 @@ enum eIcons ICON_NONE }; -enum eRenderStage -{ +enum eRenderStage { RENDER_PRE = 0, /* Before binding the gl context */ RENDER_BEGIN, /* Just when the rendering begins, nothing has been rendered yet. Damage, current render data in opengl valid. */ RENDER_PRE_WINDOWS, /* Pre windows, post bottom and overlay layers */ -- cgit v1.2.3