aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2022-12-02 22:08:38 -0800
committerLukas Rusak <lorusak@gmail.com>2022-12-03 14:35:03 -0800
commit0eecfa6440b76b2f66b57d7c3c6338922ae81687 (patch)
treec0c1ddb30107726f0f74fd3a7ab4d5c26f3686a4 /.clang-format
parent0e150116aa05a9cce767271b24339d0a807db6af (diff)
clang-format: fix egl header ordering
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format4
1 files changed, 3 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index bb9f65714f..e29c658c72 100644
--- a/.clang-format
+++ b/.clang-format
@@ -38,7 +38,9 @@ ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeBlocks: Regroup
IncludeCategories:
- - Regex: '(["/]PlatformDefs|"(system|system_gl))\.h"'
+ - Regex: '<EGL/.*\.h>'
+ Priority: 6
+ - Regex: '(["/]PlatformDefs|"(system|system_gl|system_egl))\.h"'
Priority: 5
- Regex: '"platform/[^/]+/'
Priority: 2