summaryrefslogtreecommitdiff
path: root/scene/resources/bit_mask.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/bit_mask.h')
-rw-r--r--scene/resources/bit_mask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/bit_mask.h b/scene/resources/bit_mask.h
index d69db00d51..dcd5edb4fb 100644
--- a/scene/resources/bit_mask.h
+++ b/scene/resources/bit_mask.h
@@ -54,7 +54,7 @@ protected:
public:
void create(const Size2 &p_size);
- void create_from_image_alpha(const Ref<Image> &p_image, float p_treshold = 0.1);
+ void create_from_image_alpha(const Ref<Image> &p_image, float p_threshold = 0.1);
void set_bit(const Point2 &p_pos, bool p_value);
bool get_bit(const Point2 &p_pos) const;