From 780937fe33c5ad882a569ad5037d431d6225fe38 Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Wed, 12 Jun 2024 20:51:02 +0200 Subject: [PATCH] Fixed redefinition of glfwSetWindowBadge() and glfwSetWindowBadgeString() --- src/window.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/window.c b/src/window.c index 5b1c8313..8a59281e 100644 --- a/src/window.c +++ b/src/window.c @@ -631,30 +631,6 @@ GLFWAPI void glfwSetWindowBadgeString(GLFWwindow* handle, const char* string) _glfw.platform.setWindowBadgeString(window, string); } -GLFWAPI void glfwSetWindowBadge(GLFWwindow* handle, int count) -{ - _GLFWwindow* window = (_GLFWwindow*)handle; - - _GLFW_REQUIRE_INIT(); - - if (count < 0) - { - _glfwInputError(GLFW_INVALID_VALUE, "Invalid badge count %d", count); - return; - } - - _glfw.platform.setWindowBadge(window, count); -} - -GLFWAPI void glfwSetWindowBadgeString(GLFWwindow* handle, const char* string) -{ - _GLFWwindow* window = (_GLFWwindow*)handle; - - _GLFW_REQUIRE_INIT(); - - _glfw.platform.setWindowBadgeString(window, string); -} - GLFWAPI void glfwGetWindowPos(GLFWwindow* handle, int* xpos, int* ypos) { if (xpos)