Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-06-21 09:03:26 +0300
committerCampbell Barton <campbell@blender.org>2022-06-21 09:08:03 +0300
commit84315368efa263454b85d0944248962ffa2cf479 (patch)
tree64e1408140dca7886c0c85e2a4a42408042a2ca2 /intern
parent697363545f37596a53d47a90cfa56d365c75dea7 (diff)
Fix error in GHOST_ASSERT under Wayland
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWayland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index 41b808144f2..5ca85933cc7 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -2596,7 +2596,7 @@ static void cursor_buffer_set(const input_t *input, wl_buffer *buffer)
/* This is a requirement of WAYLAND, when this isn't the case,
* it causes Blender's window to close intermittently. */
- GHOST_ASSERT((image_size_x % size) == 0 && (image_size_y % size) == 0,
+ GHOST_ASSERT((image_size_x % scale) == 0 && (image_size_y % scale) == 0,
"The size must be a multiple of the scale!");
const int32_t hotspot_x = int32_t(c->wl_image.hotspot_x) / scale;