mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-02 11:48:04 +03:00
Make SDL window resizable
This commit is contained in:
+2
-1
@@ -108,7 +108,8 @@ static void window_init(void) {
|
||||
|
||||
sdl_window = SDL_CreateWindow("XSystem3.5 Version "VERSION,
|
||||
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
|
||||
SYS35_DEFAULT_WIDTH, SYS35_DEFAULT_HEIGHT, 0);
|
||||
SYS35_DEFAULT_WIDTH, SYS35_DEFAULT_HEIGHT,
|
||||
SDL_WINDOW_RESIZABLE);
|
||||
sdl_renderer = SDL_CreateRenderer(sdl_window, -1, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user