Style: Apply clang-tidy fixes

• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
This commit is contained in:
Thaddeus Crews 2024-06-21 11:19:04 -05:00
parent 1bffd6c73b
commit 89a311205f
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
21 changed files with 37 additions and 47 deletions

View file

@ -91,10 +91,10 @@ class BetsyCompressor : public Object {
RenderingDevice *compress_rd = nullptr;
RenderingContextDriver *compress_rcd = nullptr;
HashMap<String, BetsyShader> cached_shaders;
RID src_sampler = RID();
RID src_sampler;
// Format-specific resources.
RID dxt1_encoding_table_buffer = RID();
RID dxt1_encoding_table_buffer;
void _init();
void _assign_mt_ids(WorkerThreadPool::TaskID p_pump_task_id);