From 19fdaa918b49ff19b56bfe513dcae9f6b09a85fe Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 20 Jan 2017 20:32:54 +0100 Subject: [PATCH] Sdk/Application: Fix after merge, allow for cursor handling --- SDK/src/NDK/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/src/NDK/Application.cpp b/SDK/src/NDK/Application.cpp index 32b6d0e84..1b2664985 100644 --- a/SDK/src/NDK/Application.cpp +++ b/SDK/src/NDK/Application.cpp @@ -236,7 +236,7 @@ namespace Ndk info.overlayWorld = std::make_unique(false); //< No default system if (info.window->IsValid()) - info.canvas = std::make_unique(info.overlayWorld->CreateHandle(), info.window->GetEventHandler()); + info.canvas = std::make_unique(info.overlayWorld->CreateHandle(), info.window->GetEventHandler(), info.window->GetCursorController().CreateHandle()); RenderSystem& renderSystem = info.overlayWorld->AddSystem(); renderSystem.ChangeRenderTechnique();