From 384d007326246a3ac2be7c1ee2e2cc991f549756 Mon Sep 17 00:00:00 2001 From: eriksunden Date: Fri, 18 May 2018 14:48:54 +0200 Subject: [PATCH] Added Wayland / MIR / Null window declaration of _glfwPlatformSetTouchInput --- src/mir_window.c | 4 ++++ src/null_window.c | 4 ++++ src/wl_window.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/mir_window.c b/src/mir_window.c index a0d17db2e..81ec0a091 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -713,6 +713,10 @@ void _glfwPlatformPostEmptyEvent(void) { } +void _glfwPlatformSetTouchInput(_GLFWwindow* window, int enabled) +{ +} + void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height) { if (width) diff --git a/src/null_window.c b/src/null_window.c index 6a54cfe56..6e9713754 100644 --- a/src/null_window.c +++ b/src/null_window.c @@ -248,6 +248,10 @@ void _glfwPlatformPostEmptyEvent(void) { } +void _glfwPlatformSetTouchInput(_GLFWwindow* window, int enabled) +{ +} + void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos) { } diff --git a/src/wl_window.c b/src/wl_window.c index c165ba73a..8212ca644 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1194,6 +1194,10 @@ void _glfwPlatformPostEmptyEvent(void) wl_display_sync(_glfw.wl.display); } +void _glfwPlatformSetTouchInput(_GLFWwindow* window, int enabled) +{ +} + void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos) { if (xpos)