mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user