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/render/OpenGL.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 01e05af1..cd52fe3e 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -30,8 +30,7 @@ inline const float fullVerts[] = { }; inline const float fanVertsFull[] = {-1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f}; -enum eDiscardMode -{ +enum eDiscardMode { DISCARD_OPAQUE = 1, DISCARD_ALPHA = 1 << 1 }; -- cgit v1.2.3