File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed
Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Changes relevant to the users of python-tcod are documented here.
44This project adheres to [ Semantic Versioning] ( https://semver.org/ ) since version ` 2.0.0 ` .
55
66## [ Unreleased]
7+ ### Changed
8+ - The SDL2 renderer has had a major performance update when compiled with SDL 2.0.18.
9+ - SDL2 is now the default renderer to avoid rare issues with the OpenGL 2 renderer.
710
811## [ 13.6.0] - 2022-02-19
912### Added
Original file line number Diff line number Diff line change 1515
1616import build_sdl # noqa: E402
1717
18- # The SDL2 version to parse and export symbols from.
19- SDL2_PARSE_VERSION = os .environ .get ("SDL_VERSION" , "2.0.5" )
20-
21- # The SDL2 version to include in binary distributions.
22- SDL2_BUNDLE_VERSION = os .environ .get ("SDL_VERSION" , "2.0.14" )
23-
2418Py_LIMITED_API = 0x03060000
2519
2620HEADER_PARSE_PATHS = ("tcod/" , "libtcod/src/libtcod/" )
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ def new(
464464 Added the `console` parameter.
465465 """
466466 if renderer is None :
467- renderer = RENDERER_OPENGL2
467+ renderer = RENDERER_SDL2
468468 if sdl_window_flags is None :
469469 sdl_window_flags = SDL_WINDOW_RESIZABLE
470470 if argv is None :
You can’t perform that action at this time.
0 commit comments