diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-08-27 20:03:22 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-08-27 20:03:22 +0300 |
commit | 8d8606cefe217b0a02de3bcef26ef664fbf06121 (patch) | |
tree | b77cf9e184a857817e17a443f1f4cf30df7d3426 /examples/example_custom.c | |
parent | ec1f4c3ed217f66224eb4385e07e6d6d0ad57f18 (diff) |
Example cleanups + show filename on title
Diffstat (limited to 'examples/example_custom.c')
-rw-r--r-- | examples/example_custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_custom.c b/examples/example_custom.c index f99c94e..8844b79 100644 --- a/examples/example_custom.c +++ b/examples/example_custom.c @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) { } // Create a resizable window. - window = SDL_CreateWindow("Example Player", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_RESIZABLE); + window = SDL_CreateWindow(filename, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_RESIZABLE); if(window == NULL) { fprintf(stderr, "Unable to create a new window!\n"); return 1; |