We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e44730 commit b81395aCopy full SHA for b81395a
2 files changed
CHANGELOG.md
@@ -4,6 +4,8 @@ Changes relevant to the users of python-tcod are documented here.
4
This project adheres to [Semantic Versioning](https://semver.org/) since version `2.0.0`.
5
6
## [Unreleased]
7
+
8
+## [15.0.1] - 2023-03-30
9
### Added
10
- Added support for `tcod.sdl` namespace packages.
11
tcod/sdl/render.py
@@ -507,7 +507,7 @@ def read_pixels(
507
Returns:
508
The output uint8 array of shape: ``(height, width, channels)`` with the fetched pixels.
509
510
- .. versionadded:: Unreleased
+ .. versionadded:: 15.0
511
"""
512
FORMATS: Final = {"RGB": lib.SDL_PIXELFORMAT_RGB24, "RGBA": lib.SDL_PIXELFORMAT_RGBA32}
513
sdl_format = FORMATS.get(format) if isinstance(format, str) else format
0 commit comments