diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-07 23:29:57 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-07 23:29:57 +0200 |
| commit | e52658643d07467db269ee86e086abfcf05d525e (patch) | |
| tree | cb861de8c7887cfbeae1c6955d1305550a0d0168 /platform/linuxbsd/wayland/display_server_wayland.cpp | |
| parent | 33b201fc85fb6e6ff1ba8931768bab99109ce0a7 (diff) | |
| parent | 91e995e704a6b43ecea37ab0fafebe4165e51ed6 (diff) | |
| download | redot-engine-e52658643d07467db269ee86e086abfcf05d525e.tar.gz | |
Merge pull request #92702 from kleonc/cursor_image_from_atlas_texture_fix
Fix creating cursor image from `AtlasTexture`
Diffstat (limited to 'platform/linuxbsd/wayland/display_server_wayland.cpp')
| -rw-r--r-- | platform/linuxbsd/wayland/display_server_wayland.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/linuxbsd/wayland/display_server_wayland.cpp b/platform/linuxbsd/wayland/display_server_wayland.cpp index 12d3a6fd2f..aff83ddeee 100644 --- a/platform/linuxbsd/wayland/display_server_wayland.cpp +++ b/platform/linuxbsd/wayland/display_server_wayland.cpp @@ -1018,8 +1018,7 @@ void DisplayServerWayland::cursor_set_custom_image(const Ref<Resource> &p_cursor wayland_thread.cursor_shape_clear_custom_image(p_shape); } - Rect2 atlas_rect; - Ref<Image> image = _get_cursor_image_from_resource(p_cursor, p_hotspot, atlas_rect); + Ref<Image> image = _get_cursor_image_from_resource(p_cursor, p_hotspot); ERR_FAIL_COND(image.is_null()); CustomCursor &cursor = custom_cursors[p_shape]; |
