From e387ef3fdf31f9e7037d1b6359fdcf7955288cc8 Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Wed, 1 Mar 2023 22:28:02 +0100 Subject: [PATCH] Added changelog entry to readme --- README.md | 1 + src/win32_window.c | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8b4a1546..96e92609 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ information on what to include when reporting a bug. ## Changelog + - Added `glfwSetWindowTaskbarProgress` allowing to display progress on the taskbar (#2286,#1183) - Added `GLFW_PLATFORM` init hint for runtime platform selection (#1958) - Added `GLFW_ANY_PLATFORM`, `GLFW_PLATFORM_WIN32`, `GLFW_PLATFORM_COCOA`, `GLFW_PLATFORM_WAYLAND`, `GLFW_PLATFORM_X11` and `GLFW_PLATFORM_NULL` symbols to diff --git a/src/win32_window.c b/src/win32_window.c index 2f8d7a0e..2123934d 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1620,20 +1620,20 @@ void _glfwSetWindowTaskbarProgressWin32(_GLFWwindow* window, const int progressS switch(progressState) { case 1: - winProgressState = 0x1; + winProgressState = TBPF_INDETERMINATE; break; case 2: - winProgressState = 0x2; + winProgressState = TBPF_NORMAL; break; case 3: - winProgressState = 0x4; + winProgressState = TBPF_ERROR; break; case 4: - winProgressState = 0x8; + winProgressState = TBPF_PAUSED; break; - case 0: + default: - winProgressState = 0x0; + winProgressState = TBPF_NOPROGRESS; break; }