CI: Update clang-format pre-commit hook to 19.1.0

This commit is contained in:
Rémi Verschelde
2024-09-26 11:26:17 +02:00
parent f7c567e2f5
commit c92a6c7e27
14 changed files with 17 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ Error AudioDriverDummy::init() {
}
channels = get_channels();
samples_in = memnew_arr(int32_t, (size_t)buffer_frames * channels);
samples_in = memnew_arr(int32_t, size_t(buffer_frames) * channels);
if (use_threads) {
thread.start(AudioDriverDummy::thread_func, this);

View File

@@ -800,7 +800,7 @@ private:
#ifndef DISABLE_DEPRECATED
public:
enum BarrierMask{
enum BarrierMask {
BARRIER_MASK_VERTEX = 1,
BARRIER_MASK_FRAGMENT = 8,
BARRIER_MASK_COMPUTE = 2,

View File

@@ -1740,7 +1740,7 @@ public:
#ifndef DISABLE_DEPRECATED
// Never actually used, should be removed when we can break compatibility.
enum Features{
enum Features {
FEATURE_SHADERS,
FEATURE_MULTITHREADED,
};