summaryrefslogtreecommitdiff
path: root/scene/2d/back_buffer_copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/back_buffer_copy.h')
-rw-r--r--scene/2d/back_buffer_copy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/back_buffer_copy.h b/scene/2d/back_buffer_copy.h
index 0916d344f9..6bdb3aaab2 100644
--- a/scene/2d/back_buffer_copy.h
+++ b/scene/2d/back_buffer_copy.h
@@ -44,8 +44,8 @@ public:
};
private:
- Rect2 rect;
- CopyMode copy_mode;
+ Rect2 rect = Rect2(-100, -100, 200, 200);
+ CopyMode copy_mode = COPY_MODE_RECT;
void _update_copy_mode();