Function TCOD_sys_accumulate_console¶
Defined in File console_init.h
Function Documentation¶
-
int TCOD_sys_accumulate_console(const TCOD_Console *console)
Render a console over the display.
console can be any size, the active render will try to scale it to fit the screen.
The function will only work for the SDL2/OPENGL2 renderers.
Unlike
TCOD_console_flush()
this will not present the display. You will need to do that manually, likely with the SDL API.Returns 0 on success, or a negative number on a failure such as the incorrect renderer being active.
New in version 1.11.