From 6451897a98f8923f298ad04dc73fb79cd63e4261 Mon Sep 17 00:00:00 2001 From: Felipe Ferreira da Silva Date: Fri, 7 Apr 2017 21:48:20 -0300 Subject: [PATCH] Add stub functions for each platform --- src/cocoa_window.m | 4 ++++ src/mir_window.c | 4 ++++ src/win32_window.c | 4 ++++ src/wl_window.c | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index d2aab85f9..f15e206e9 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1288,6 +1288,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window) [window->ns.object makeKeyAndOrderFront:nil]; } +void _glfwPlatformResizeWindow(_GLFWwindow* window, int border) +{ +} + void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, diff --git a/src/mir_window.c b/src/mir_window.c index e380f4070..ae332eafd 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -576,6 +576,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window) "Mir: Unsupported function %s", __PRETTY_FUNCTION__); } +void _glfwPlatformResizeWindow(_GLFWwindow* window, int border) +{ +} + void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, diff --git a/src/win32_window.c b/src/win32_window.c index 363ef0f32..810ec048c 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1323,6 +1323,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window) SetFocus(window->win32.handle); } +void _glfwPlatformResizeWindow(_GLFWwindow* window, int border) +{ +} + void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, diff --git a/src/wl_window.c b/src/wl_window.c index e6c554527..7c672d7fb 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -605,6 +605,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window) "Wayland: Focusing a window requires user interaction"); } +void _glfwPlatformResizeWindow(_GLFWwindow* window, int border) +{ +} + void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos,