mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 22:20:30 -04:00
improve video initialization, use more compatible and common format
This commit is contained in:
parent
c7b575821c
commit
5643814710
5 changed files with 196 additions and 38 deletions
|
@ -41,7 +41,6 @@ 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