diff options
author | wm4 <wm4@nowhere> | 2015-09-04 22:38:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-04 22:38:19 +0200 |
commit | a6694b7b96f94dd692b55e6db1a7740ddbe3fdee (patch) | |
tree | b0d6ea9e22e6bb084e9b829c6a6f4e7e7dd2624d | |
parent | 23f6f3f50c4ff7a0fb5f294e1cdaa99d0b5f4e69 (diff) |
DOCS/client_api_examples/sdl: make the window resizable
-rw-r--r-- | DOCS/client_api_examples/sdl/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DOCS/client_api_examples/sdl/main.c b/DOCS/client_api_examples/sdl/main.c index ae4b2b25b0..b3b5952668 100644 --- a/DOCS/client_api_examples/sdl/main.c +++ b/DOCS/client_api_examples/sdl/main.c @@ -52,7 +52,8 @@ int main(int argc, char *argv[]) SDL_Window *window = SDL_CreateWindow("hi", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, - 1000, 500, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN); + 1000, 500, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | + SDL_WINDOW_RESIZABLE); if (!window) die("failed to create SDL window"); |