Added changelog entry to readme

This commit is contained in:
GamesTrap 2023-03-01 22:28:02 +01:00
parent a480de9b1d
commit e387ef3fdf
No known key found for this signature in database
GPG Key ID: 31DFD452434ECDA3
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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;
}