mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
This commit is contained in:
parent
89a311205f
commit
bb5f390fb9
46 changed files with 126 additions and 102 deletions
|
|
@ -309,7 +309,7 @@ RID RenderingServer::get_white_texture() {
|
|||
w[i] = 255;
|
||||
}
|
||||
}
|
||||
Ref<Image> white = memnew(Image(4, 4, 0, Image::FORMAT_RGB8, wt));
|
||||
Ref<Image> white = memnew(Image(4, 4, false, Image::FORMAT_RGB8, wt));
|
||||
white_texture = texture_2d_create(white);
|
||||
return white_texture;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue