summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-04-05 13:16:16 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-04-05 13:16:35 +0200
commit0f0c0e593303f04e3748a6038d3c502106f5face (patch)
treebfc3695f2c19698fc17582eaf21ccf16ca2d8ea0 /editor/editor_node.cpp
parent33b8f1448e3efd8ad71c65c3d42581fae82905a3 (diff)
Style: Apply clang-tidy's `modernize-use-bool-literals`
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index cc9080c923..6a50976908 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1379,7 +1379,7 @@ void EditorNode::_save_scene_with_preview(String p_file, int p_idx) {
// which would result in an invalid texture.
if (c3d == 0 && c2d == 0) {
img.instance();
- img->create(1, 1, 0, Image::FORMAT_RGB8);
+ img->create(1, 1, false, Image::FORMAT_RGB8);
} else if (c3d < c2d) {
Ref<ViewportTexture> viewport_texture = scene_root->get_texture();
if (viewport_texture->get_width() > 0 && viewport_texture->get_height() > 0) {