Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
This commit is contained in:
commit
a4c1804cab
14 changed files with 17 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue