From f1c36aba8321abd1d972e26baf7e999568db8f13 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 12 Jun 2019 20:35:44 +0200 Subject: [PATCH] Reduce the difference of glfw/null_* to upstream This only changes some formatting, whitespace, etc.. There are no changes to the functionality. Let me know if you don't like some of those changes. --- glfw/null_monitor.c | 5 ++++- glfw/null_window.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/glfw/null_monitor.c b/glfw/null_monitor.c index 527a092a0..51afe3324 100644 --- a/glfw/null_monitor.c +++ b/glfw/null_monitor.c @@ -49,7 +49,9 @@ void _glfwPlatformGetMonitorContentScale(_GLFWmonitor* monitor, *yscale = 1.f; } -void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, int* xpos, int* ypos, int *width, int *height) +void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, + int* xpos, int* ypos, + int* width, int* height) { } @@ -70,3 +72,4 @@ bool _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) { } + diff --git a/glfw/null_window.c b/glfw/null_window.c index f493ac8d8..00beda70d 100644 --- a/glfw/null_window.c +++ b/glfw/null_window.c @@ -333,3 +333,4 @@ VkResult _glfwPlatformCreateWindowSurface(VkInstance instance, // This seems like the most appropriate error to return here return VK_ERROR_INITIALIZATION_FAILED; } +