summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-01 23:50:59 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-01 23:50:59 +0200
commit005aac2dbe2ed590e30e85424100f016c6c65fd6 (patch)
treea976723bc3c18472b13c81f607b0e8260699d80a /scene/resources/visual_shader.cpp
parent168f6ca63b6b244273afb69163704bf3212f4206 (diff)
parentb7e2d452336ec3eff6f3393e68443773178c2910 (diff)
Merge pull request #65187 from JohanAR/vector_to_size
Diffstat (limited to 'scene/resources/visual_shader.cpp')
-rw-r--r--scene/resources/visual_shader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index 90f1a1bff1..0dad5d4be4 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -3855,11 +3855,11 @@ VisualShaderNodeUniform::VisualShaderNodeUniform() {
////////////// ResizeableBase
-void VisualShaderNodeResizableBase::set_size(const Vector2 &p_size) {
+void VisualShaderNodeResizableBase::set_size(const Size2 &p_size) {
size = p_size;
}
-Vector2 VisualShaderNodeResizableBase::get_size() const {
+Size2 VisualShaderNodeResizableBase::get_size() const {
return size;
}