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
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-07-07 14:42:05 +0300
committerCampbell Barton <campbell@blender.org>2022-07-07 14:44:48 +0300
commit5d6e7df4a8b70aa98d86655b024a87ca3319c6be (patch)
treef7a7d6dd6714c1c9677985b5b01164b8dc9dfcd5
parenta27024e36d879c3872cfb791f4c5ce805bf57857 (diff)
GHOST: initialize grab axis for windows
While this didn't cause any user visible bugs, ASAN would report an error when passing it as an argument.
-rw-r--r--intern/ghost/intern/GHOST_Window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_Window.cpp b/intern/ghost/intern/GHOST_Window.cpp
index be5d593c401..db4d6c3bb71 100644
--- a/intern/ghost/intern/GHOST_Window.cpp
+++ b/intern/ghost/intern/GHOST_Window.cpp
@@ -23,6 +23,7 @@ GHOST_Window::GHOST_Window(uint32_t width,
: m_drawingContextType(GHOST_kDrawingContextTypeNone),
m_cursorVisible(true),
m_cursorGrab(GHOST_kGrabDisable),
+ m_cursorGrabAxis(GHOST_kAxisNone),
m_cursorShape(GHOST_kStandardCursorDefault),
m_wantStereoVisual(wantStereoVisual),
m_context(new GHOST_ContextNone(false))