Closed Ape closed 4 years ago
I guess the interesting bit in that backtrace is:
1 in TCOD_image_from_console (console=0x0)
Also the global SDL_Surface* charmap
in sys_sdl_c.cpp
is null when the crash happens.
This is one of the functions not converted to the newer rendering yet. The old renderer doesn't support loading TrueType fonts so it won't have a tileset when invoked.
I'll need to write a new software renderer to fix this.
Good to know. This is not super important function for me, but it could be handy at times.
I tried to use
tcod.image_from_console
to take screenshots, but it just segfaults. I am using python-tcod 10.0.5 on Arch Linux and the SDL2 renderer.