diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/blank-window.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/blank-window.scm b/examples/blank-window.scm new file mode 100644 index 0000000..41c5ead --- /dev/null +++ b/examples/blank-window.scm @@ -0,0 +1,10 @@ +(use-modules (sdl2) + (sdl2 video)) + +(sdl-init) + +(define window (make-sdl-window)) + +(sleep 2) +(close-sdl-window! window) +(sdl-quit) |