mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
working now, still needs cleanup before PRing
This commit is contained in:
parent
edd85cf153
commit
de369c0356
1 changed files with 3 additions and 1 deletions
|
@ -150,8 +150,10 @@ static void gfx_sdl_init(const char *game_name, bool start_in_fullscreen, uint32
|
|||
|
||||
std::cout << "\nwe hit gfx_sdl_init in gfx_sdl2.cpp\n";
|
||||
|
||||
window_width = width;
|
||||
window_height = height;
|
||||
wnd = SDL_CreateWindow(title, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
|
||||
width, height, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
|
||||
window_width, window_height, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
|
||||
|
||||
if (start_in_fullscreen) {
|
||||
set_fullscreen(true, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue