mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 22:20:30 -04:00
add config option sdl_renderer_driver
This commit is contained in:
parent
f383260a98
commit
93ec526482
9 changed files with 56 additions and 8 deletions
|
@ -41,6 +41,7 @@ char game_display_init(const INI_CONFIG_SECTION *display_section, const char *ti
|
|||
else cfg.crt_filter = SDLContext::CrtFilterType::autoselect;
|
||||
|
||||
cfg.cursor_size = ini_get_int(display_section, "cursor_size", 100)*0.01f;
|
||||
cfg.hint_renderer = ini_get_string(display_section, "sdl_renderer_driver", NULL);
|
||||
|
||||
screen_pitch = 640;
|
||||
get_sdl_global_context().init_video(cfg, title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue